Поделиться через


CWindow::ShowWindow

Показать задает состояние окна.

BOOL ShowWindow( 
   int nCmdShow  
) throw();

Заметки

См. раздел ShowWindow в Windows SDK.

Пример

//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 Class