_IWMonitorXEvents interface

Methods

WEvent

Prototype

HRESULT WEvent([in]LONG hwnd, [in]LONG x1, [in]LONG y1, [in]LONG x2, [in]LONG y2);
 
// This is the event triggered by mouse gestures captured by the WMonitorX object.
 
You should check out our Sample Projects in order to understand how to implement it.

Variables

hwnd
// holds the handle value of the clicked window;
 
x1
// the horizontal mouse position (in screen coordinates) of the beginning of the mouse gesture;
 
x2
// the horizontal mouse position (in screen coordinates) of the ending of the mouse gesture;
 
y1
// the vertical mouse position (in screen coordinates) of the beginning of the mouse gesture;
 
y2
// the vertical mouse position (in screen coordinates) of the ending of the mouse gesture;

WEventHotkey

Prototype

HRESULT WEventHotkey([in] LONG hwnd, [in] LONG x, [in] LONG y, [in] LONG id);
 
// This is the event triggered by hotkey combinations captured by the WMonitorX object.
 
You should check out our Sample Projects in order to understand how to implement it.

Variables

hwnd
// holds the handle value of the window which received the hotkey;
 
x
// the horizontal mouse position (in screen coordinates) when the hotkey was invoked;
 
y
// the vertical mouse position (in screen coordinates) when then hotkey was invoked;
 
id
// the identifier of the hotkey, which was previously returned by the Start3 method;
Comments