cplusplus.com cplusplus.com
cplusplus.com   C++ : Forums : Windows Programming : Dialog Font normal in XP but BOLD in VIS...
  Search:
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forums
Forums
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Articles
Lounge
Jobs

-

post  Dialog Font normal in XP but BOLD in VISTA.

cva
Hi everyone...
Im having problem with the dialog box which contain 2 tab forms in it, In XP the dialog box is running normal with normal fonts and normal dialogbox size. But when try run in VISTA the fonts become BIGGER with BOLD and the tab form size grows bigger than the dialogbox size, which makes me just can see a part of the form and the remaining part is missing because it is going over the dialog box size. Hope you guys there have any solutions or suggestion on this problem.

Thank You.
|
SteakRider
You should define the tab forms text must be normal, and 12px or something else,
as default vista knows the tab forms text is bold, XP knows it as normal text,
That is why you should define exact type of font to the text

|
cva
But why the buttons, groupbox, combobox, the text editor grows larger in vista?did you mean that if we have mutiple pages in 1 dialogbox, vista will bold and larger the items in it?(my dialog box has 2 pages)

Thank you.
|
Duoas
Vista changed the default fonts used by the system, so programs that use the older fonts (anything compiled by tools for use with XP or earlier) will have nasty side-effects.

The following link may help you. It is for Delphi, but it is readable enough that you should be able to follow it.
http://www.installationexcellence.com/articles/VistaWithDelphi/Index.html

Hope this helps.
|

Registered users can reply in this forum.
Home page | Privacy policy
© cplusplus.com, 2000-2008 - All rights reserved - v2.2
Spotted an error? contact us