Determine whether a Specified Window is Minimized
Posted by admin - Apr 1, 2008 Articles, Dani Vainstein, QTips, Windows 0 0 Views : 374 Receive Updates For This Category
Article Tools
- Print this page
- Add Comment
- Send to Friend
- Last Updated on :
Jul 16, 2011
The IsIconic function determines whether the specified window is minimized (iconic).
API Syntax : BOOL IsIconic( HWND hWnd );
Parameters :
hWnd – [in] Handle to the window to test.
Return Value : If the window is iconic, the return value is nonzero.
If the window is not iconic, the return value is zero.
Extern.Declare micInteger, "IsIconic", "user32.dll", "IsIconic", micHWnd
hwnd = Browser("AQTP").GetROProperty( "HWND" )
retVal = Extern.IsIconic( hwnd )
Print "Window handle : " & hwnd & " is minimized? ---> " & CBool( retval )


