Copyright © 2001-2019 MultiMedia Soft

Waveform.SetBackPictureFromHandle method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets a background picture from an existing bitmap handle (HBITMAP).

 

For further details about using the embedded Waveform refer to the Waveform object section.

For details about using Visual Feedbacks refer to the How to use embedded Visual Feedbacks section.

 

 

Syntax

 

[Visual Basic]

control.Waveform.SetBackPictureFromHandle (

nPlayer as Integer,

hBitmap as OLE_HANDLE

) as enumErrorCodes


 

[C++]

short control.Waveform.SetBackPictureFromHandle (

short nPlayer,

OLE_HANDLE hBitmap

);


 

 

Parameter

Description

 

 

nPlayer

Number representing the zero-based index of the player that will use the Waveform

hBitmap

Handle of the bitmap to apply. If this parameter is set to 0 an eventual picture set through a previous call to this method will be reset.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful