Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Attaches the window identified by hWndNew to the CWindow object.
void Attach(
HWND hWndNew
) throw();
Parameters
- hWndNew
[in] The handle to a window.
Example
//The following example attaches an HWND to the CWindow object
HWND hWnd = ::GetDesktopWindow();
CWindow myWindow;
myWindow.Attach(hWnd);
Requirements
Header: atlwin.h