Copyright © 2008-2019 MultiMedia Soft

WaveformScroller.SetCursor method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the cursor to display, from an existing cursor handle (HCURSOR), when the mouse hovers the control's area.

 

For further details about methods of the Waveform scroller refer to the WaveformScroller object.

For a tutorial about the use of Waveform scrollers refer to the How to scroll the sound's waveform during playback tutorial.

 

 

Syntax

 

[Visual Basic]

control.WaveformScroller.SetCursor (

hWndWaveformScroller as OLE_HANDLE,

hCursor as OLE_HANDLE

) as enumErrorCodes


 

[C++]

short control.WaveformScroller.SetCursor (

OLE_HANDLE hWndWaveformScroller,

OLE_HANDLE hCursor

);


 

 

Parameter

Description

 

 

hWndWaveformScroller

Handle of the control returned by a previous call to the WaveformScroller.Create method

hCursor

Handle of the cursor to apply. If this parameter is set to 0 an eventual cursor 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