HwndSourceParameters.HwndSourceHook Property


Gets or sets the message hook for the window.

 property System::Windows::Interop::HwndSourceHook ^ HwndSourceHook { System::Windows::Interop::HwndSourceHook ^ get(); void set(System::Windows::Interop::HwndSourceHook ^ value); };
public System.Windows.Interop.HwndSourceHook HwndSourceHook { get; set; }
member this.HwndSourceHook : System.Windows.Interop.HwndSourceHook with get, set
Public Property HwndSourceHook As HwndSourceHook

Property Value

The message hook for the window.


This message hook is enabled before CreateWindow is called so that it receives all the window creation messages.

Applies to

See also