http://bugs.winehq.org/show_bug.cgi?id=5898
--- Comment #30 from Jason Edmeades us@edmeades.me.uk 2008-05-29 04:24:16 --- Bearing in mind I was looking at this blind, basically the application DOES use custom draw and hence the changes I did helped there. From the information listed below, (1) is probably caused by the fact that tooltips draw the contents first, then call the custom draw code (as the tests show) - to avoid this causing problems, the tooltip text is set to " ", ie nothing... It would appear from the description that for some reason once drawn this isnt being overdrawn.... odd... I dont have time at the moment to look at it but this might give a hint for a standalone test case!
As for (2), I think thats a completely different issue, but its quite hard to understand!
One other customdraw comment - in windows the customdraw code occurs twice (looking at the flags, once is to calc the size of the rect, the other to draw), but my change only implemented the draw case as it resolved the test program I was working on. I have no idea if this would help (but I doubt it - just mentioning it for completeness).