Several programs: eg:
Powergrab: http://www.cosmicwolf.com SCB Demo3: http://adam.stup.ac.ru/Developer/ ArticleDetail.aspx?ar=318&l=n&mi=10&mic=40
that make use of MFC to do things like dockable windows don't properly draw the close button on docked windows. Instead of an 'x' it looked more like an 'r'. After some investigation and traces I saw that wine was substituting Arial in for Marlett when Marlett was specified with a DEFAULT_CHARSET. I changed the behaviour to instead load 'webdings' when this situation was encountered. This changed the font drawn on the button from an Arial 'r' to a Webding close 'x' character. Unfortunately it was drawn well below the actual button. I am not sure of the correct way to fix this. I have included a changed line:
if(ppem <= startsz || ppem > endsz)
that corrects this but I doubt it's correct.
Justin Chevrier
Changelog: Allow MFC programs that dock windows to draw a correct close button.
_________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2f...