I've got a question regarding Segoe UI. I thought this thread would help me regarding Segoe UI.
In one of the training class, we were told that apps for Vista should use "Segoe UI" as their font for dialogs. For NT/W2K, people in the past were told, not to use "MS Sans Serif" anymore but instead "MS Shell Dlg" as this maps via a registry value to the proper Shell font which can be switched for the whole shell in one fell swoop. Should we now replace "MS Shell Dlg" in our .rc files with "Segoe UI", or will "MS Shell Dlg" by default map to "Segoe UI" on Vista or is there yet another face name that will map to "Segoe UI" when used on Vista?
Thanks in advance...
Any advice for those of us writing apps to run on both XP and Vista?
It'd be great not to see: if OSVer >=6 then "Segoe UI" else "Tahoma"
I understand not being able to predict text layout when switching fonts, but we already deal with problems in that space for localization and High DPI.
Here's an idea:
the above technique applies to MFC but a similar technique can be used in pure Win32 apps (i.e. changing the DLGTEMPLATE font at run-time *before* the dialog is created). The only caveat would be to make sure enough extra "slop" space is left in your static text to cover all fonts being used.