HwndHost.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
En cas de substitution dans une classe dérivée, accède au processus de fenêtre (handle) de la fenêtre enfant hébergée.
protected:
virtual IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, bool % handled);
[System.Security.SecurityCritical]
protected virtual IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled);
protected virtual IntPtr WndProc(IntPtr hwnd, int msg, IntPtr wParam, IntPtr lParam, ref bool handled);
[<System.Security.SecurityCritical>]
abstract member WndProc : nativeint * int * nativeint * nativeint * bool -> nativeint
override this.WndProc : nativeint * int * nativeint * nativeint * bool -> nativeint
abstract member WndProc : nativeint * int * nativeint * nativeint * bool -> nativeint
override this.WndProc : nativeint * int * nativeint * nativeint * bool -> nativeint
Protected Overridable Function WndProc (hwnd As IntPtr, msg As Integer, wParam As IntPtr, lParam As IntPtr, ByRef handled As Boolean) As IntPtr
Paramètres
- hwnd
-
IntPtr
nativeint
Handle de fenêtre de la fenêtre hébergée.
- msg
- Int32
Message à agir.
- wParam
-
IntPtr
nativeint
Informations susceptibles d’être pertinentes pour gérer le message. Il est généralement utilisé pour stocker de petites informations, telles que des indicateurs.
- lParam
-
IntPtr
nativeint
Informations susceptibles d’être pertinentes pour gérer le message. Il est généralement utilisé pour référencer un objet.
- handled
- Boolean
Indique si les événements résultant doivent être marqués comme gérés.
Retours
nativeint
Handle de fenêtre de la fenêtre enfant.
- Attributs
Remarques
Important
Ce type ou ce membre n’est pas disponible dans la zone de sécurité Internet.
Notes pour les héritiers
L’implémentation de base dans HwndHost ne retourne pas de processus pratique, mais retourne en IntPtr.Zero tant qu’échec de sécurité.