CWindow::ShowWindow

设置窗口中显示状态。

BOOL ShowWindow(
   int nCmdShow 
) throw();

备注

在参见 Windows SDK的 ShowWindow

示例

//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);

要求

Header: atlwin.h

请参见

参考

CWindow选件类