SetShowMode method


Available for Window and MDIWindow objects

Syntax

Invoke SetShowMode, hWnd, lShowMode

Function

Sets the ShowMode property for an object.

Parameters

hWnd

Handle to the object.

lShowMode

A DD 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 returns TRUE if succesful, or FALSE if not.