SetTrackerCursors method |
|
Remarks
Sets the cursors used by the trackers for resizing and panning operations.
Syntax
[Visual Basic] Public Function SetTrackerCursors ( nCursorMode as enumTrackerCursorModes, hCursorResize as IntPtr, hCursorPan as IntPtr ) as enumWanErrorCodes |
[C#] public enumWanErrorCodes SetTrackerCursors ( enumTrackerCursorModes nCursorMode, IntPtr hCursorResize, IntPtr hCursorPan ); |
[C++] public: enumWanErrorCodes SetTrackerCursors ( enumTrackerCursorModes nCursorMode, IntPtr hCursorResize, IntPtr hCursorPan ); |
Parameter |
Description |
||||||||||||
|
|
||||||||||||
nCursorMode |
The cursor mode. Supported values are the following:
|
||||||||||||
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) |
enumWanErrorCodes.ERR_WAN_NOERROR (0) |
The method call was successful |