SHOWWINDOW

Top  Previous  Next

Syntax

SHOWWINDOW(win as WINDOW,nCmdShow as INT,OPT id=0 as UINT)

Description

Shows or hides a window, dialog or control.

Parameters

win - Window or dialog.

nCmdShow - Show window command.

id - Optional control identifier.

Return value

None

Remarks

nCmdShow is one of:

@SWHIDE - Hides the window, dialog or control

@SWRESTORE - Restores the window, dialog or control

@SWMINIMIZED - Minimizes the dialog or window

@SWMAXIMIZED - Maximizes the dialog or window
@SWSHOW - Shows a hidden window

See Also: SETSIZE

Example usage

SHOWWINDOW mywnd, @SWHIDE