Partager via


CWinFormsView::GetControl

Retrieves a pointer to the Windows Forms control.

System::Windows::Forms::Control^ GetControl( ) const;

Return Value

A pointer to a System.Windows.Forms.Control object.

Remarks

For an example of how to use Windows Forms, see Using a Windows Form User Control in MFC.

Requirements

Header: afxwinforms.h

See Also

Concepts

CWinFormsView Class

CWinFormsView Members