編輯

共用方式為


HwndSourceParameters.HwndSourceHook Property

Definition

Gets or sets the message hook for the window.

public:
 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.

Remarks

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

Applies to

See also