次の方法で共有


CWinFormsView::operator Control^

Windows フォーム コントロールへのポインターとして型をキャストします。

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

解説

この演算子を使用すると、System.Windows.Forms.Control 型の Windows フォーム コントロールへのポインターを受け取る関数に CWinFormsView ビューを渡すことができます。

使用例

CWinFormsView::GetControl」を参照してください。

必要条件

**ヘッダー:**afxwinforms.h

参照

参照

CWinFormsView クラス

概念

CWinFormsView メンバー