OnWaveformAnalyzerGraphicItemClick event |
|
Remarks
Occurs when a mouse button is clicked over a graphic item available on the waveform analyzer.
This event replaces the usage of the CallbackWaveformAnalyzerGraphItemClick delegate and is only intended for usage with applications developed using Visual Basic 6 (which results unreliable when dealing with delegates and callbacks) and, in order to be enabled, requires a call to the COMEventEnable method with the nEventType parameter set to EVENT_TYPE_REC_WAVE_ITEM_CLICK.
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 6] Private Sub RecorderApi_OnWaveformAnalyzerGraphicItemClick ( _ ByVal nButton as enumMouseButtons, _ ByVal nUniqueID as Integer, _ ByVal nGraphicItemType as enumGraphicItemType, _ ByVal nFlags as Long, _ ByVal xPos as Long, _ ByVal yPos as Long _ )
where "RecorderApi" is declared in Visual Basic 6 code as:
Dim WithEvents RecorderApi As AudioSoundRecorderApi.AudioSoundRecorderApiObj |
Event Data
Parameters |
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 |