[ObsoleteAttribute("This class is obsolete. Use 'DevCase.Core.IO.MouseMonitor' instead.",
false)]
public sealed class MouseHook : IDisposable<ObsoleteAttribute("This class is obsolete. Use 'DevCase.Core.IO.MouseMonitor' instead.",
false)>
Public NotInheritable Class MouseHook
Implements IDisposable
Dim instance As MouseHook[ObsoleteAttribute(L"This class is obsolete. Use 'DevCase.Core.IO.MouseMonitor' instead.",
false)]
public ref class MouseHook sealed : IDisposable[<SealedAttribute>]
[<ObsoleteAttribute("This class is obsolete. Use 'DevCase.Core.IO.MouseMonitor' instead.",
false)>]
type MouseHook =
class
interface IDisposable
endNo code example is currently available or this language may not be supported.| MouseHook | Initializes a new instance of the mouseHook class. |
| IsEnabled | Gets a value indicating whether the Hook is enabled. |
| IsInstalled | Gets a value indicating whether the Hook is installed. |
| SuppressMouseButtonUpEventWhenDoubleClick | ** ONLY FOR TESTING PURPOSES ** Gets or sets a value indicating whether to suppress the last MouseUp event of when a double-click occurs. If this value is set to , the application will send the events in this order for a Double-Click: MouseDown, MouseUp, MouseDown, MouseDoubleClick If this value is set to , the application will send the events in this order for a Double-Click: MouseDown, MouseUp, MouseDown, MouseUp, MouseDoubleClick |
| WorkingArea | Gets or sets the screen's working area on which to notify about mouse events. The events fired by this mouseHook will be restricted to the bounds of the specified rectangle. |
| Disable | Temporally disables the Mouse Hook events. To re-enable the events, call the Enable method. |
| Dispose | Releases all the resources used by this instance. |
| Enable | Enables the Mouse Hook events. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| Install | Installs the Mouse Hook, then start processing messages to fire events. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Uninstall | Uninstalls the Mouse Hook and free all resources, then stop processing messages to fire events. |
| MouseButtonClick | Occurs when a mouse button is pressed or released. |
| MouseButtonDoubleClick | Occurs when the mouse performs a double-click on a button. A double click is considered as: (MouseButtonDown + MouseButtonUp) * 2 |
| MouseMove | Occurs when the mouse moves. |
| MouseWheel | Occurs when the mouse wheel is moved up or down. |
| CanConvertTo |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| CanConvertToT |
Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions) |
| ConvertToT |
Converts an object to the specified target type.
If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions) |
| IsDisposable |
Determines whether the specified object is a disposable type
(i.e., it implements IDisposable interface).
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| Speak |
Speaks the string representation of the source object by using the
operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions) |
| ThrowIfNullTException |
Throws the specified exception if the source object is null.
(Defined by ObjectExtensions) |