The container calls this method to get the window handle of the control. Some containers will not work with a control that has been windowless, even if it is currently windowed.
HRESULT GetWindow( HWND* phwnd );
Header file: | Atlctl.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
IOleInPlaceActiveObjectImpl Overview, IOleInPlaceActiveObjectImpl Methods, IOleWindow::GetWindow