Поделиться через


CWinFormsControl::GetControlHandle

Retrieves a handle to the Windows Forms control.

inline HWND GetControlHandle( ) const;

Возвращаемое значение

Returns a handle to the Windows Forms control.

Заметки

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.

Требования

Header: afxwinforms.h

См. также

Основные понятия

CWinFormsControl Class

CWinFormsControl Members

CWinFormsControl::GetControl

CWinFormsControl::CreateManagedControl