Method | Description | |
---|---|---|
MouseHookListener ( MouseKeyboardActivityMonitor.WinApi.Hooker hooker ) : System |
Initializes a new instance of MouseHookListener. Hooks are not active after installation. You need to use either BaseHookListener.Enabled property or call BaseHookListener.Start method. |
Method | Description | |
---|---|---|
Dispose ( bool isDisposing ) : void |
Method to be used from Dispose and finalizer. Override this method to release subclass sepcific references.
|
|
GetHookId ( ) : int |
Returns the correct hook id to be used for HookNativeMethods.SetWindowsHookEx call.
|
|
ProcessCallback ( int wParam, |
This method processes the data from the hook and initiates event firing.
|
Method | Description | |
---|---|---|
HasMoved ( Point actualPoint ) : bool | ||
HasSupressButtonUpFlag ( MouseButtons button ) : bool | ||
InvokeMouseEventHandler ( MouseEventHandler handler, |
||
InvokeMouseEventHandlerExt ( EventHandler |
||
IsDoubleClick ( MouseButtons button, int timestamp ) : bool | ||
ProcessMouseClick ( MouseKeyboardActivityMonitor.MouseEventExtArgs &e ) : void | ||
ProcessMouseDown ( MouseKeyboardActivityMonitor.MouseEventExtArgs &e ) : void | ||
ProcessMouseMove ( MouseKeyboardActivityMonitor.MouseEventExtArgs &e ) : void | ||
ProcessMouseUp ( MouseKeyboardActivityMonitor.MouseEventExtArgs &e ) : void | ||
ProcessPossibleDoubleClick ( MouseKeyboardActivityMonitor.MouseEventExtArgs &e ) : void | ||
RemoveSupressButtonUpFlag ( MouseButtons button ) : void | ||
SetSupressButtonUpFlag ( MouseButtons button ) : void |
protected Dispose ( bool isDisposing ) : void | ||
isDisposing | bool | |
return | void |
public MouseHookListener ( MouseKeyboardActivityMonitor.WinApi.Hooker hooker ) : System | ||
hooker | MouseKeyboardActivityMonitor.WinApi.Hooker | Depending on this parameter the listener hooks either application or global mouse events. |
return | System |
protected ProcessCallback ( int wParam, |
||
wParam | int | The first Windows Messages parameter. |
lParam | The second Windows Messages parameter. | |
return | bool |