CWindow::ShowWindow

Sets the window's show state.

BOOL ShowWindow(
   int nCmdShow 
) throw();

Remarks

See ShowWindow in the Windows SDK.

Example

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::ShowWindow() to show the window in its maximized state

CWindow myWindow;
myWindow.Attach(hWnd);
myWindow.ShowWindow(SW_SHOWMAXIMIZED);

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

Other Resources

CWindow Members