CWnd::ShowWindow

BOOL ShowWindow( int nCmdShow );

Return Value

Nonzero if the window was previously visible; 0 if the CWnd was previously hidden.

Parameters

nCmdShow

Specifies how the CWnd is to be shown. It must be one of the following values:

Remarks

Sets the visibility state of the window.

ShowWindow must be called only once per application for the main window with CWinApp::m_nCmdShow. Subsequent calls to ShowWindow must use one of the values listed above instead of the one specified by CWinApp::m_nCmdShow.

Example

See the example for CWnd::CalcWindowRect.

CWnd OverviewClass MembersHierarchy Chart

See Also   ::ShowWindow, CWnd::OnShowWindow, CWnd::ShowOwnedPopups