[Bug 41370] New: TTM_GETCURRENTTOOL returns always FALSE when send from TTN_NEEDTEXT handler.
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Sep 20 03:45:44 CDT 2016
https://bugs.winehq.org/show_bug.cgi?id=41370
Bug ID: 41370
Summary: TTM_GETCURRENTTOOL returns always FALSE when send from
TTN_NEEDTEXT handler.
Product: Wine
Version: 1.9.18
Hardware: x86
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: P2
Component: comctl32
Assignee: wine-bugs at winehq.org
Reporter: johnfound at asm32.info
Distribution: ---
It is a tooltip control, created for a toolbar with TBSTYLE_TOOLTIPS style.
The tooltip properly is sending TTN_NEEDTEXT notification, but when trying to
determine which tool needs tooltip by sending TTM_GETCURRENTTOOL to the tooltip
control it always returns FALSE.
In any other way, the tooltip works fine. For example if I return arbitrary
text in the TOOLTIPTEXTW.lpszText field, this text is displayed properly.
In Windows, TTM_GETCURRENTTOOL returns TRUE and filled up TOOLINFO structure
about the toolbar that activated the tooltip control.
Here is a link to the procedure that creates the toolbar:
https://fresh.flatassembler.net/fossil/repo/fresh/artifact/63e102f647e4c3119082c75bc0d16f33011630f5?txt=1&ln=574,680
Here, the source that handles TTN_NEEDTEXT notification:
https://fresh.flatassembler.net/fossil/repo/fresh/artifact/52e7fb642bba7415e921bc7c3c6d515082aa0ba3?txt=1&ln=200,256
The bug is not version specific, because I tried with different stable and
development versions and it appears always.
--
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