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


CWindow::CWindow

The constructor.

CWindow(
   HWND hWnd = NULL 
) throw();

Параметры

  • hWnd
    [in] The handle to a window.

Заметки

Initializes the m_hWnd member to hWnd, which by default is NULL.

ПримечаниеПримечание.

CWindow::CWindow does not create a window. Classes CWindowImpl, CContainedWindow, and CDialogImpl (all of which derive from CWindow) provide a method to create a window or dialog box, which is then assigned to CWindow::m_hWnd. You can also use the CreateWindow Win32 function.

Требования

Header: atlwin.h

См. также

Основные понятия

CWindow Class

CWindow Members