Write-only

ShowWindow Method


Description

Show or hide PLTS main window.

 VB Syntax

plts.ShowWindow CmdShow

Variable

(Type) - Description

plts

(object) - A PLTSApplication object

CmdShow

(Short)  Choose from the following:

0 - SW_HIDE   Hides this window and passes activation to another window.

1 - SW_SHOWNORMAL   Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position.

2 - SW_SHOWMINIMIZED   Activates the window and displays it as an icon.

3 - SW_SHOWMAXIMIZED   Activates the window and displays it as a maximized window.

4 - SW_SHOWNOACTIVATE   Displays the window in its most recent size and position. The window that is currently active remains active.

5 - SW_SHOW   Activates the window and displays it in its current size and position.

6 - SW_MINIMIZE   Minimizes the window and activates the top-level window in the system's list.

7 - SW_SHOWMINNOACTIVE   Displays the window as an icon. The window that is currently active remains active.

8 - SW_SHOWNA   Displays the window in its current state. The window that is currently active remains active.

9 - SW_RESTORE   Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position.

Return Type

None

Default

SW_SHOWMAXIMIZED

Examples

plts.ShowWindow SW_SHOWMAXIMIZED

C++ Syntax

HRESULT ShowWindow(SHORT nCmdShow);

Interface

IPLTSApplication