Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Subclasses the window identified by hWnd and attaches it to the CWindowImpl object.
BOOL SubclassWindow(
HWND hWnd
);
Parameters
- hWnd
[in] The handle to the window being subclassed.
Return Value
TRUE if the window is successfully subclassed; otherwise, FALSE.
Remarks
The subclassed window now uses CWindowImpl::WindowProc. The original window procedure is saved in m_pfnSuperWindowProc.
Observação
Do not call SubclassWindow if you have already called Create.
Requirements
Header: atlwin.h