CallbackWaveformAnalyzerGraphItemClick delegate |
|
Remarks
Callback delegate for notifying when a graphic item on the waveform analyzer is clicked: this callback can be set through a call to the CallbackWaveformAnalyzerGraphItemClickSet method.
For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.
For further details about callback delegates see the How to synchronize the container application with the API tutorial.
For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.
For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section.
Syntax
[Visual Basic] Public Delegate Sub CallbackWaveformAnalyzerGraphItemClick ( nButton as enumMouseButtons, nUniqueId as Int16, nType as enumGraphicItemType, nFlags as Int32, xPos as Int32, yPos as Int32 ) |
[C#] public delegate void CallbackWaveformAnalyzerGraphItemClick ( enumMouseButtons nButton, Int16 nUniqueId, enumGraphicItemType nType, Int32 nFlags, Int32 xPos, Int32 yPos ) |
[C++] public delegate void CallbackWaveformAnalyzerGraphItemClick ( enumMouseButtons nButton, Int16 nUniqueId, enumGraphicItemType nType, Int32 nFlags, Int32 xPos, Int32 yPos ) |
Parameter |
Description |
||||||||||||
|
|
||||||||||||
nButton |
Clicked mouse button. Supported values are the following:
|
||||||||||||
nUniqueID |
Unique identification number assigned to the graphic item. The unique identification number of a graphic item is generated using one of the following methods:
|
||||||||||||
nGraphicItemType |
Type of graphic item. Supported values are the following:
|
||||||||||||
nFlags |
Can be a combination of the following values:
|
||||||||||||
xPos |
Horizontal position, expressed in pixels respect to the waveform's client area, where the mouse generated the notification |
||||||||||||
yPos |
Vertical position, expressed in pixels respect to the waveform's client area, where the mouse generated the notification |