[lazarus] GetFormRelativeMousePosition, GetCaretPos?
Marc Weustink
marc at dommelstein.net
Mon Jul 28 20:09:47 EDT 2003
At 02:32 29-7-2003 +0200, I wrote:
>At 12:37 28-7-2003 +0200, I wrote:
>>+ From: Micha Nelissen [mailto:M.Nelissen at student.tue.nl]
>>+ Sent: maandag 28 juli 2003 8:49
>>+
>>+ Marc Weustink wrote:
>>+
>>+ >
>>+ > I guess that is a typo. GetCaretPos should have been GetCursorPos
>>+ >
>>+ > Fixed that.
>>+
>>+ If the following is all fixed then positioning of controls on the
>>+ designer form work correctly, they get the position you want instead of
>>+ centered:
>>+
>>+ winapi.inc:GetCursorPos -> interface:GetCursorPos ->
>>+ win32intf:GetCursorPos.
>>+
>>+ You need to add that last one in win32winapi and win32winapih.
>>
>>OK, I'll look at it tonight.
>
>Pfff.... took some time and xlib hacking, but GetCursorPos is in CVS now.
>
>BTW, If someone is doing GTK2, GetCursorPos should be overridden and
>reimplemented to use native gdk calls.
Eehh.... I mean, the GTK version is in CVS.
Marc
More information about the Lazarus
mailing list