HwndSourceParameters.HwndSourceHook 属性

定义

获取或设置窗口的消息挂钩。

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

属性值

窗口的消息挂钩。

注解

此消息挂钩是在调用 之前 CreateWindow 启用的,以便它接收所有窗口创建消息。

适用于

另请参阅