HwndHost.BuildWindowCore(HandleRef) メソッド

定義

派生クラスでオーバーライドされた場合は、ホストするウィンドウを作成します。

protected:
 abstract System::Runtime::InteropServices::HandleRef BuildWindowCore(System::Runtime::InteropServices::HandleRef hwndParent);
protected abstract System.Runtime.InteropServices.HandleRef BuildWindowCore(System.Runtime.InteropServices.HandleRef hwndParent);
abstract member BuildWindowCore : System.Runtime.InteropServices.HandleRef -> System.Runtime.InteropServices.HandleRef
Protected MustOverride Function BuildWindowCore (hwndParent As HandleRef) As HandleRef

パラメーター

hwndParent
HandleRef

親ウィンドウのウィンドウ ハンドル。

返品

作成する子 Win32 ウィンドウへのハンドル。

注釈

このメソッドの実装は、 BuildWindowCoreの内部実装内から呼び出されます。

子ウィンドウは、呼び出し元のスレッドがウィンドウを所有している場合にのみ作成されます。

注意 (実装者)

ホストされているウィンドウをビルドするには、このメソッドをオーバーライドします。

返されるウィンドウは、 hwndParentで指定されたウィンドウの子である必要があります。

さらに、子ウィンドウは、呼び出し元のスレッドがウィンドウを所有している場合にのみ作成されます。

適用対象