OnWaveformAnalyzerPaintDone event |
|
Remarks
Occurs when the waveform analyzer has completed its graphic rendering, allowing to add custom graphics directly from the container application's code.
This event replaces the usage of the CallbackWaveformAnalyzerPaintDone 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_EDT_WAVE_PAINT_DONE.
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 EditorApi_OnWaveformAnalyzerPaintDone ( _ ByVal hWnd as Long, _ )
where "EditorApi" is declared in Visual Basic 6 code as:
Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj |
Event Data
Parameters |
Description |
|
|
hWnd |
Handle (HWND) to the window of the Waveform Analyzer: through this handle its possible accessing the handle to the device context (HDC) of the Waveform Analyzer using Windows API, for example through the GetDC and ReleaseDC functions. |