Login   /   Register

Determine whether a specified window is minimized

Rate this article
     0 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 5
Loading ... Loading ...
April 1st, 2008 by daniva

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 )

Posted in Windowing

Leave a Reply

You must be logged in to post a comment.

This article was viewed 403 times