SetMousePos method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short SetMousePos (float x, float y, VARIANT_BOOL bUpdatePos);

Overview

Refer to Implementing Annotations.

Remarks

Sets the coordinates for the automation object to use when processing mouse messages and changes the position of the cursor.

This method can be called while processing the AnnMouseXXX events.

See Also

Elements:

AnnMouseDown event, AnnMouseMove event, AnnMouseUp event