Represents the method that will handle a mouse hook callback.
Parameters
Name | Type | Description |
---|---|---|
sender | object | Sender of the event. |
e | Mouse |
A Mouse |
Returns
Type | Description |
---|---|
bool |
Remarks
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, nint)
Methods
BeginInvoke(object, MouseHookEventArgs, AsyncCallback, object)
Parameter | Type | Description |
---|---|---|
sender | object | |
e | Mouse |
|
callback | Async |
|
object | object |