SetMousePos method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int SetMousePos(int x, int y, bool bUpdatePos);

Delphi Syntax

Function SetMousePos(x: longint; y: longint; bUpdatePos: Boolean): Integer;

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) 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 OnAnnMouseXXX events.

See Also

Elements:

OnAnnMouseDown event, OnAnnMouseMove event, OnAnnMouseUp event