OnPercentage event |
|
Remarks
Notifies the container application about the percentage of advancement of lengthy operations like loading, exporting, waveform analysis, etc.
This event replaces the usage of the CallbackPercentage 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_PERC.
Syntax
[Visual Basic 6] Private Sub EditorApi_OnPercentage ( _ ByVal nOperation as enumOperationsWithPercentage, _ ByVal nPercentage as Integer _ )
where "EditorApi" is declared in Visual Basic 6 code as:
Dim WithEvents EditorApi As AudioSoundEditorApi.AudioSoundEditorApiObj |
Event Data
Parameters |
Description |
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
nOperation |
Number representing the identifier of the operation raising the notification. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||
nPercentage |
Number representing the percentage of advancement for the given operation. |