FW_RESTOREICON fails to restore window
Hello. I'm hoping you can help me with this.
I'm trying to use Visual Test to restore the Visual Studio .NET window when it's minimized. I have the following line of code in my script:
hWnd = WFndWndWaitC (NET_WinTitle, NET_WinClass, wFlagsNoError or FW_RESTOREICON)
If the window is not minimized (active, etc.), VT does see the window and gives me the window handle. If the window is minimized, VT does not see the window and the flag fails to restore its state.
I use a similar line of code with other applications and it functions properly. It appears that the FW_RESTOREICON or FW_RESTORE flags fail for VS.NET. Does anyone have a workable solution for this problem?
Thanks in advance.