다음을 통해 공유


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