The CloseWindow function minimizes (but does not destroy) the specified window.
API syntax : BOOL CloseWindow( HWND hWnd );
Parameters :
hWnd - [in] Handle to the window to be minimized.
Return Value :
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
Extern.Declare micInteger, "CloseWindow", "user32.dll", "CloseWindow", micHWnd
hwnd = Browser( "B" ).GetROProperty( "hwnd" )
If Not CBool( Extern.IsIconic( hwnd ) ) Then
bRetval = Extern.CloseWindow( hwnd )
End If
Posted in Windowing

daniva




July 21st, 2008 at 11:15 am
IsIconic hasn’t be declared
July 21st, 2008 at 1:25 pm
ooopssss
Extern.Declare micInteger, “IsIconic”, “user32.dll”, “IsIconic”, micHWnd