[Bug 31527] Delphi 7: Header control sends incorrect notifications

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 9 12:19:33 CST 2012


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

--- Comment #6 from Daniel Jelinski <djelinski1 at gmail.com> 2012-12-09 12:19:33 CST ---
There was something peculiar about +message logs with native comctl:
notification from header to listview is HDN_ENDTRACKW when it is sent, but
HDN_ENDTRACKA when it returns. This lead me to suspect that listview modifies
the message for the purpose of forwarding it to parent window.
Inspection of the existing Wine code revealed that it already forwards some of
the notifications, converting them to ANSI if needed. However, the
notifications for HDN_TRACK and HDN_ENDTRACK were not forwarded, and the
conversion was not done in place, but instead allocated a new structure.
I sent a few patches:
http://www.winehq.org/pipermail/wine-patches/2012-December/120562.html
http://www.winehq.org/pipermail/wine-patches/2012-December/120563.html
http://www.winehq.org/pipermail/wine-patches/2012-December/120564.html
These patches fix the issue presented by the sample application. However,
Delphi's editor is still affected, i.e. when you resize the column header in
form editor, the change is still not persisted to dfm file.

Also when testing I noticed that sometimes I can't resize columns on form
editor. This issue still needs some work.

-- 
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