From: Foster T. B. <fbr...@ad...> - 2006-02-02 17:52:55
|
I have checked in this change and it'll roll out today in the 1.0.13 =20 release. Things look much better than they did before. Your continued =20= support of the project is greatly appreciated Ralph -- thanks again! Blessings, Foster On Feb 2, 2006, at 01:24a, Ralph Thomas wrote: > I took a look at the nested group issue on Win32 this evening. The > issue was that groups inside groups used the wrong font when visual > styles were enabled (they calculated metrics for the correct font, but > then went and used the "System" font to draw text). I think that this > is actually a bug in Win32 (it seems to be exposed in some versions of > Windows.Forms, according to newsgroups). > > To partially address the issue I now do not send the WM_SETFONT > message to the group box control in set_theme, this means that the > group box will draw with the font given to it in response to the > WM_CTLCOLORSTATIC message it sends out. This has the distinct > disadvantage that the nested groups no longer seem to be able to > measure the text they have correctly, and thus draw the group line > behind the group title text (but giving the group a font via > WM_SETFONT means I can't work around the Win32 bug with > WM_CTLCOLORSTATIC). > > So what I have checked in is better than what was happening before, > but still not perfect. Hopefully there is a message that I can do > something with to ensure that the text measurement is correct (but I > didn't have time to look tonight). > > Ralph > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through =20 > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD =20 > SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=103432&bid#0486&dat=121642= > _______________________________________________ > Adobe-source-devel mailing list > Ado...@li... > https://lists.sourceforge.net/lists/listinfo/adobe-source-devel -- Foster T. Brereton <}}}>< Romans 3:21-26 A d o b e S o f t w a r e T e c h n o l o g y L a b "The fact is that the author of STL does not know how to write min, =20 the author of C++ is not quite sure, and the standards committee is =20 at a loss." -- Alexander Stepanov |