SetShowMode method
Available for Window and MDIWindow objects
Prototype
SetShowMode Proto hWnd:HWND, lShowMode:LONG
Syntax
Invoke SetShowMode, hWnd, lShowMode
Function
Sets the ShowMode property for an object.
Parameters
hWnd
Handle to the object.
lShowMode
A LONG value specifying the new show mode for the object. It can be one of the following values:
0 ecNormal
1 ecMinimized
2 ecMaximized
Return value
Eax/Rax returns TRUE if successful, or FALSE if not.