Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Détache m_hWnd de l'objet d' CWindow et définit m_hWnd à NULL.
HWND Detach( ) throw();
Valeur de retour
HWND associé à l'objet d' CWindow .
Exemple
//The following example attaches an HWND to the CWindow object and
//later detaches the CWindow object from the HWND when no longer needed
CWindow myWindow;
myWindow.Attach(hWnd);
//call CWindow wrappers
//We don't need the C++ object any more, so detach it from the HWND.
myWindow.Detach();
Configuration requise
Header: atlwin.h