Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a handle to the Windows Forms control.
inline HWND GetControlHandle( ) const;
Return Value
Returns a handle to the Windows Forms control.
Remarks
GetControlHandle is a helper method that returns the window handle stored in the .NET Framework control properties. The window handle value is copied to CWnd::m_hWnd during the call to CWnd::Attach.
Requirements
Header: afxwinforms.h
See Also
Reference
CWinFormsControl::CreateManagedControl