SetVisible method
Available for all objects.
Prototype
SetVisible Proto hWnd:HWND, bVisible:BOOL
Syntax
Invoke SetVisible, hWnd, bVisible
Function
Sets the Visible property for an object.
Parameters
hWnd
Handle to the object.
bVisible
A BOOL value specifying the new visible state for the object.
Return value
Eax returns TRUE if succesful, or FALSE if not.
REMARKS: An object cannot be visible if its parent is
hidden.
IMPORTANT: This method fails if you try to hide a window which
is modal. You should never use the ShowWindow API call to hide a
modal window.