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(a)winehq.org Reporter: johnfound(a)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/63e102f647e4c3119... Here, the source that handles TTN_NEEDTEXT notification: https://fresh.flatassembler.net/fossil/repo/fresh/artifact/52e7fb642bba7415e... 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.