GetShowMode method


Available for Window and MDIWindow objects

Prototype

GetShowMode Proto hWnd:HWND

Syntax

Invoke GetShowMode, hWnd

Function

Gets the ShowMode property for an object.

Parameters

hWnd

Handle to the object.

Return value

Eax returns the current show mode for the object.

Possible returned values are:

0 ecNormalWindow is shown normally.
1 ecMinimizedWindow is shown minimized.
2 ecMaximizedWindow is shown maximized.