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]
Public Function SetCursor (
hWndWaveformScroller as IntPtr,
hCursor as IntPtr
) as enumErrorCodes
|
|
[C#]
public enumErrorCodes SetCursor (
IntPtr hWndWaveformScroller,
IntPtr hCursor
);
|
|
[C++]
public: enumErrorCodes SetCursor (
IntPtr hWndWaveformScroller,
IntPtr 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 (see the LastError property for further error details)
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful.
|
|