MouseHookEventHandler Delegate
Represents the method that will handle a mouse hook callback.
public delegate bool MouseHookEventHandler(object sender, MouseHookEventArgs e)
Parameters
Returns
When you create a MouseHookEventHandler
delegate, you identify the method that will handle the event.
To associate the event with your event handler, add an instance of the delegate to the event.
The event handler is called whenever the event occurs, unless you remove the delegate.
Constructors
MouseHookEventHandler(object, IntPtr)
public MouseHookEventHandler(object @object, IntPtr method)
Methods
BeginInvoke(object, MouseHookEventArgs, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(object sender, MouseHookEventArgs e, AsyncCallback callback, object @object)
Returns
- IAsyncResult
EndInvoke(IAsyncResult)
public virtual bool EndInvoke(IAsyncResult result)
Returns
- bool
Invoke(object, MouseHookEventArgs)
public virtual bool Invoke(object sender, MouseHookEventArgs e)
Returns
- bool