Compartir a través de


CWinFormsControl::GetControlHandle

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

Concepts

CWinFormsControl Class

CWinFormsControl Members

CWinFormsControl::GetControl

CWinFormsControl::CreateManagedControl