WaveAnalyzerMouseAction event
Remarks
Occurs when a mouse button is pressed over the waveform analyzer.
Syntax
|
[Visual Basic]
Public Event WaveAnalyzerMouseAction As WaveAnalyzerMouseActionEventHandler
|
|
[C#]
public event WaveAnalyzerMouseActionEventHandler WaveAnalyzerMouseAction;
|
|
[C++]
public: __event WaveAnalyzerMouseActionEventHandler WaveAnalyzerMouseAction;
|
Event Data
The event handler receives an argument of type WaveAnalyzerMouseActionEventArgs.
|
WaveAnalyzerMouseActionEventArgs members
|
Description
|
|
|
|
|
nAction
|
Mouse action type.
Supported values are the following:
|
Mnemonic constant
|
Value
|
Meaning
|
|
MOUSE_ACTION_LEFT_DOWN
|
0
|
Left mouse button down
|
|
MOUSE_ACTION_LEFT_UP
|
1
|
Left mouse button up
|
|
MOUSE_ACTION_LEFT_CLICK
|
2
|
Left mouse button click
|
|
MOUSE_ACTION_LEFT_DBLCLICK
|
3
|
Left mouse button double click
|
|
MOUSE_ACTION_RIGHT_DOWN
|
4
|
Right mouse button down
|
|
MOUSE_ACTION_RIGHT_UP
|
5
|
Right mouse button up
|
|
MOUSE_ACTION_RIGHT_CLICK
|
6
|
Right mouse button click
|
|
MOUSE_ACTION_RIGHT_DBLCLICK
|
7
|
Right mouse button double click
|
|
MOUSE_ACTION_MOVE
|
8
|
Mouse move
|
|
|
nFlags
|
Can be a combination of the following values:
|
Value
|
Meaning
|
|
1
|
Set if left mouse button is down (defined as MK_LBUTTON inside the Windows SDK)
|
|
2
|
Set if right mouse button is down (defined as MK_RBUTTON inside the Windows SDK)
|
|
4
|
Set if keyboard's SHIFT key is down (defined as MK_SHIFT inside the Windows SDK)
|
|
8
|
Set if keyboard's CTRL key is down (defined as MK_CONTROL inside the Windows SDK)
|
|
16 (hex 10)
|
Set if middle mouse button is down (defined as MK_MBUTTON inside the Windows SDK)
|
|
|
nPressPosInPix
|
Number representing the position expressed in pixels where the mouse button was pressed
|
|
nPressPosInMs
|
Number representing the position expressed in milliseconds where the mouse button was pressed
|