[lazarus] GetFormRelativeMousePosition, GetCaretPos?

Marc Weustink marc at dommelstein.net
Sun Jul 27 12:23:04 EDT 2003


At 17:50 27-7-2003 +0200, Micha Nelissen wrote:
>Hi,
>
>In the IDE designer these (see subject) two functions are used to 
>determine the mouse position?

??? GetCaretPos hasn't anything to do with a mouse, so I don't think it is 
used.

>AFAIK, there is no caret on a form and on windows GetCaretPos returns the 
>client position of the caret of whatever it currently is in. Please explain.

The Caret (on windows) is system wide. There is only one Caret (that's why 
you don't have to specify a handle in GetCaretPos) and it is per def. in 
the currently focused window.

Marc







More information about the Lazarus mailing list