[Lazarus] Tooltips in editor not working with trunk

Vincent Snijders vsnijders at quicknet.nl
Tue Sep 2 19:58:45 CEST 2008


Graeme Geldenhuys schreef:
> On Tue, Sep 2, 2008 at 1:33 PM, Mattias Gärtner
> <nc-gaertnma at netcologne.de> wrote:
>> This is known.
>> The hint is hidden, because of a mouse move message to the window.
>> I had not yet the time to find a good solution.
> 
> Thanks for the feedback.
> 
> Speaking of tooltips and mouse move messages.  Not really related, but
> wondered if LCL is affected by this as well.  We just implemented
> basic tooltip support in fpGUI and I noticed very strange behaviour
> from Windows, which prevented tooltips from appearing in fpGUI under
> Windows.   When a form is shown, hidden or moved, Windows fires off 2
> mouse move messages (X11 doesn't), even though the mouse pointer did
> NOT move.
> 
> I know this is probably not related to the issue in the Lazarus
> editor, because what I'm describing was only an issue under Windows
> (and I mostly use Lazarus under Linux). Either way, did anybody test
> LCL-win32 count of mouse move messages, to see if those fake messages
> also get through to the widgets?
> 

The LCL win32 interface doesn't send mouse move notifications to the 
LCL, unless the mouse position has changed. Search for "spurious 
WM_MOUSEMOVE message" in the interfaces\win32 directory.

So, no, it doesn't count mouse move message, because that is not necessry.

Vincent




More information about the Lazarus mailing list