[Bug 31527] Delphi 7: Header control sends incorrect notifications
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Nov 24 05:23:19 CST 2012
http://bugs.winehq.org/show_bug.cgi?id=31527
--- Comment #3 from Nikolay Sivov <bunglehead at gmail.com> 2012-11-24 05:23:19 CST ---
The problem here is HDN_ENDTRACKW that's sent instead of expected
HDN_ENDTRACKA. Initial notification format is set correctly to NFR_ANSI on
control creation, but it gets overridden later with HDM_SETUNICODEFORMAT. So
this line in listview.c is questionable:
---
/* set header unicode format */
SendMessageW(infoPtr->hwndHeader, HDM_SETUNICODEFORMAT, TRUE, 0);
---
This is quite an old line (10 years), added with commit 07a308d6. We probably
can't do that with header, cause ListView window could be set to NFR_ANSI by
its parent and the same parent listens to header notifications in the same
format.
--
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