[Bug 13843] New: tooltips not working properly - message problems

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jun 11 04:06:10 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=13843

           Summary: tooltips not working properly - message problems
           Product: Wine
           Version: 1.0-rc4
          Platform: Other
               URL: http://mrhx.ucoz.com/load/0-0-0-27-20
        OS/Version: other
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: comctl32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: hramrach at centrum.cz


In the VISG editor (see url) the tooltips aren't resized and painted properly.
Works on windows.

Developer explanation (copied below without screenshots):

http://www.reactos.org/forum/viewtopic.php?p=36824&sid=9c02654b3b5b22544622c5b679ac51dc#p36824

As you may see, the button tooltip has the same size as in winxp.
This is correct, but it is not painted. I think, it's because ROS paints the
tooltips not via WM_PAINT.

And the second: the window tooltip with little screenshot...
It is not painted and has wrong size.
I think, it's because this tooltip didn't have LPSTR_TEXTCALLBACK as its
caption (in other words, it has direct caption). I resize the tooltip on
TTN_SHOW message. But, as I see, there is no such message for the window
tooltip. But the winapi documentation says TTN_SHOW is sent when the tooltip is
about to be shown. And no matter, has it LPSTR_TEXTCALLBACK or not. The button
tooltip has LPSTR_TEXTCALLBACK instead of its caption, and it's resized
correctly.

So, I think, there are two bugs:
1) painting tooltips not via WM_PAINT.
2) not sending TTN_SHOW, if the tooltip did not have LPSTR_TEXTCALLBACK.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list