Copyright © 2013-2017 MultiMedia Soft

SetTrackerCursors method

Previous pageReturn to chapter overviewNext page

Remarks

 

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

 

 

Syntax

 

[Visual Basic]

control.SetSelection (

nCursorMode as enumTrackerCursorModes,

hCursorResize as OLE_HANDLE,

hCursorPan as OLE_HANDLE

) as enumWanErrorCodes


 

[C++]

short control.SetSelection (

short nCursorMode,

OLE_HANDLE hCursorResize,

OLE_HANDLE hCursorPan

);


 

Parameter

Description

 

 

nCursorMode

The cursor mode.

Supported values are the following:

Mnemonic Value

Numeric value

Meaning

TRACKER_CURSOR_MODE_ARROWS (default)

0

Arrow based cursors.

For resizing operations: asoed_i000068

For panning operations:asoed_i000069

TRACKER_CURSOR_MODE_HANDS

1

Hand based cursors.

For resizing operations: asoed_i00006a

For panning operations:asoed_i00006b

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 it's 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 it's ignored

 

 

Return value

 

Value

Meaning

 

 

Negative value

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

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful