Copyright © 2008-2019 MultiMedia Soft

WaveformAnalyzer.SetTrackerCursors method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets the cursors used by the trackers for resizing and panning operations.

 

For details about the use of the Waveform Analyzer refer to the How to use the Waveform Analyzer section.

For further details about methods of the Waveform Analyzer refer to the WaveformAnalyzer class section.

 

 

Syntax

 

[Visual Basic]

Public Function SetTrackerCursors (

nCursorMode as enumTrackerCursorModes,

hCursorResize as IntPtr,

hCursorPan as IntPtr

) as enumErrorCodes


 

[C#]

public enumErrorCodes SetTrackerCursors (

enumTrackerCursorModes nCursorMode,

IntPtr hCursorResize,

IntPtr hCursorPan

);


 

[C++]

public: enumErrorCodes SetTrackerCursors (

enumTrackerCursorModes nCursorMode,

IntPtr hCursorResize,

IntPtr hCursorPan

);


 

 

Parameter

Description

 

 

nCursorMode

The cursor mode.

Supported values are the following:

Mnemonic Value

Value

Meaning

TRACKER_CURSOR_MODE_ARROWS (default)

0

Arrow based cursors.

For resizing operations: asoednet_i00006d

For panning operations:asoednet_i00006c

TRACKER_CURSOR_MODE_HANDS

1

Hand based cursors.

For resizing operations: asoednet_i00006b

For panning operations:asoednet_i00006a

TRACKER_CURSOR_MODE_CUSTOM

2

Custom cursors defined by the handles passed through the hCursorResize and hCursorPan parameters.

hCursorResize

If the cursor mode is set to TRACKER_CURSOR_MODE_CUSTOM, represents the handle to the cursor used for tracker's resizing operations, otherwise is ignored

hCursorPan

If the cursor mode is set to TRACKER_CURSOR_MODE_CUSTOM, represents the handle to the cursor used for tracker's panning operations, otherwise is ignored

 

 

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