Problems with the tooltip controls.

Nikolay Sivov bunglehead at gmail.com
Mon Sep 19 13:43:14 CDT 2016


On Monday, 19 September 2016, John Found <johnfound at asm32.info> wrote:

> In my program I have window with several toolbars that have to show
> tooltips on its buttons.
>
> As long as the tooltips are dynamical, I am handling the TTN_NEEDTEXTW
> following way:
>
> 1. Send message TTM_GETCURRENTTOOLW to the tooltip control in
> NMHDR.hwndFrom reveived.
> 2. Determine from which toolbar the notification comes by using
> TOOLINFO.hwnd returned.
> 3. Generate the tooltip text and set the TOOLTIPTEXTW.lpszText to point to
> the generated text.
> 4. Return
>
> This procedure works in Windows, but not in WINE.
> In WINE, TTM_GETCURRENTTOOLW always returns FALSE.
> And there is no other way to determine which of the toolbars generated
> this message. (or at least I don't know it).
>
> Any ideas about some workaround?
>
>
Hi, John.

Please open a bug report and attach sample application code there or at
least a relevant part of it, so we can turn it into a test. Workarounds are
not interesting for Wine.



> --
> http://fresh.flatassembler.net
> http://asm32.info
> John Found <johnfound at asm32.info <javascript:;>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20160919/0a488ce9/attachment.html>


More information about the wine-devel mailing list