BB FlashBack SDK: FBEditor

ProgressorEventEx

Description

This event handler is called as an export, import, edit operation or movie loading process progresses.

It replaces FBEditor::ProgressorEvent, which is kept for backward compatibility. It differs from the ProgressorEvent event in that it receives a parameter identifying the event source.
 

Syntax

[C#/C++]
public void ProgressorEventEx (long Count, long Current, Bool* bStop, ProgressorEventId Id)

[VB.NET]
Public Sub ProgressorEventEx (ByVal Count As Long, ByVal Current As Long, ByRef bStop As Boolean,  ByVal Id As ProgressorEventId)
 

Parameters

Count - the total number of steps in the process. The event handler may not be called for every step in the process.

Current - the number of the current stage.

bStop - set this to True to stop the process.

Id - a value identifying the source of the progressor events. Values and corresponding sources are:

    Undefined = 0,

    Converting FBR to new format = 1,

    Loading movie = 2,

    Preparing sound mix during FLV or FBR import = 3,

    Deleting frames = 4,

    Cropping frames = 5,

    Changing FPS = 6,

    Importing FLV = 7,

    Exporting WebCam video to FLV = 8,

    Exporting to AVI = 9,

    Exporting to WMV = 10,

    Searching for duplicate images during an export = 11,

    Exporting to Flash = 12,

    Exporting to Exe = 13,

    Clipping movie permanently = 14,

    Inserting FBR Movie = 15,

    Optimizing movie = 16,

    Smoothing cursor movements = 17,

    Mixing sounds for exporting WebCam to FLV = 18,

    Mixing sounds for exporting to AVI = 19,

    Mixing sounds for exporting to WMV = 20,

    Mixing sounds for exporting to Flash = 21,

    Converting sound to internal format during delete frames operation = 22,

    Exporting sound track to file = 23,

    Moving position of sound clip = 24,

    Merging sound tracks = 25,

    Pasting sound = 26,

    Resyncing sounds = 27,

    Initializing objects, during delete sound operation = 28

    
 

Remarks

The ProgressorEventEx event handler is called from all exports, FLV and FBR import, edit operations and movie loading.
 

Setting the event handler

[C#]
fbEditor.ProgressorEventEx += new IFBEditorEvents_ProgressorEventExEventHandler(EditorProgressorEventEx);
 

[VB]
AddHandler fbEditor.ProgressorEventEx, AddressOf EditorProgressorEventEx
 

[Delphi]
FBEditor.OnProgressorEventEx := EditorProgressorEventEx;
 

[C++ Builder]
Editor->OnProgressorEventEx = EditorProgressorEventEx;

 

See Also

FBEditor::PlayEvent   FBEditor::SetProgressorCaption  FBEditor::GetProgressorCaption  FBEditor::ProgressorEvent