Class MessageFilterEntryHelper
Inheritance
System.Object
MessageFilterEntryHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class MessageFilterEntryHelper : IMessageFilter, IMouseHookHLProcClient, IKeyboardProcHookClient
Properties
DisableReleaseHook
Gets/sets whether to disable release hook or not
Declaration
public static bool DisableReleaseHook { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
AddMessageFilter(IMessageFilter, Boolean)
Utility to help you filter messages in both a .NET and Native app.
Declaration
public static void AddMessageFilter(IMessageFilter filter, bool ontop)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.IMessageFilter | filter | The interface that will receive messages for filtering in a .NET app. |
System.Boolean | ontop | Specifies whether or not this filter should be inserted on top (with highest priority). |
AddMessageFilter(IMessageFilter, Boolean, Object)
Declaration
public static void AddMessageFilter(IMessageFilter filter, bool ontop, object tag)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.IMessageFilter | filter | |
System.Boolean | ontop | |
System.Object | tag |
RemoveMessageFilter(IMessageFilter)
Declaration
public static void RemoveMessageFilter(IMessageFilter filter)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.IMessageFilter | filter |
Resume(Object)
Resumes applying filters by tag.
Declaration
public static void Resume(object tag)
Parameters
Type | Name | Description |
---|---|---|
System.Object | tag |
Suspend(Object)
Suspends applying filters by tag.
Declaration
public static void Suspend(object tag)
Parameters
Type | Name | Description |
---|---|---|
System.Object | tag |
Explicit Interface Implementations
IKeyboardProcHookClient.KeyboardHookProc(Int32, Int32)
Declaration
bool IKeyboardProcHookClient.KeyboardHookProc(int wParam, int lParam)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | wParam | |
System.Int32 | lParam |
Returns
Type |
---|
System.Boolean |
IMouseHookHLProcClient.MouseHookProc(Int32, Point, IntPtr, Int32, Int32)
Declaration
bool IMouseHookHLProcClient.MouseHookProc(int msg, Point point, IntPtr hwnd, int wHitTestCode, int dwExtraInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | msg | |
System.Drawing.Point | point | |
System.IntPtr | hwnd | |
System.Int32 | wHitTestCode | |
System.Int32 | dwExtraInfo |
Returns
Type |
---|
System.Boolean |
Implements
System.Windows.Forms.IMessageFilter