HwndHost.BuildWindowCore(HandleRef) Méthode

Définition

En cas de substitution dans une classe dérivée, crée la fenêtre à héberger.

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

Paramètres

hwndParent
HandleRef

Handle de fenêtre de la fenêtre parente.

Retours

HandleRef

Handle vers la fenêtre Win32 enfant à créer.

Remarques

L’implémentation de cette méthode est appelée à partir de l’implémentation interne de BuildWindowCore.

La fenêtre enfant est créée uniquement si la fenêtre appartient au thread appelant.

Notes pour les responsables de l’implémentation

Remplacez cette méthode pour générer la fenêtre hébergée.

La fenêtre retournée doit être un enfant de la fenêtre spécifiée par hwndParent.

En outre, la fenêtre enfant ne sera créée que si la fenêtre appartient au thread appelant.

S’applique à