Determine whether a Specified Window is Minimized

Article Tools

The IsIconic function determines whether the specified window is minimized (iconic).

API Syntax : BOOL IsIconic( HWND hWnd );

Parameters :

clip_image001 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 )
Previous postPick-out and Save Specific Lines in a Text File Next postDetermine whether a Window is Maximized

Related Posts

Post Your Comment

You must be logged in to post a comment.