Copyright © 2008-2019 MultiMedia Soft

InitEditorNoPlayback method

Previous pageReturn to chapter overviewNext page

Remarks

 

Alternative to the InitEditor method, Initializes the control without support for playback: must be performed before calling any other method that will use any editing related functionality, possibly in the container form initialization function: calling this method inside the constructor function of the container form will not work and could cause unpredictable results.

 

The call to this method will generate the WarnNoOutputDevice event.

 

 

Syntax

 

[Visual Basic]

control.InitEditorNoPlayback (

hWndParent as OLE_HANDLE

) As enumErrorCodes


 

[C++]

short control.InitEditorNoPlayback (

OLE_HANDLE hWndParent

);


 

 

Parameter

Description

 

 

hWndParent

Handle of the container (parent) window: for Visual Basic is represented by the hWnd property of the container form, while for Visual C++ is represented by the call to the container dialog box GetSafeHwnd member function: the return value of this call represents a HWND so it must be cast to OLE_HANDLE to avoid compiler errors

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumErrorCodes.ERR_NOERROR (0)

The method call was successful.