Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated font name for dialog boxes #2475

Open
krishty opened this issue Feb 5, 2020 · 0 comments
Open

Outdated font name for dialog boxes #2475

krishty opened this issue Feb 5, 2020 · 0 comments

Comments

@krishty
Copy link

@krishty krishty commented Feb 5, 2020

https://docs.microsoft.com/en-us/windows/win32/dlgbox/about-dialog-boxes#dialog-box-fonts

This states: To have your application use the system font no matter which system it is running on, use DS_SHELLFONT with the typeface MS Shell Dlg, and use the DIALOGEX Resource instead of the DIALOG Resource. The system maps this typeface such that your dialog box will use the Tahoma font. Note that DS_SHELLFONT has no effect if the typeface is not MS Shell Dlg.

Actually, the font name is MS Shell Dlg 2. MS Shell Dlg (without the 2) has been deprecated since Windows 2000, as stated in this article: https://docs.microsoft.com/en-us/windows/win32/intl/using-ms-shell-dlg-and-ms-shell-dlg-2
MS Shell Dlg maps to the default shell font associated with the current culture/locale and supports the classic Windows desktop look. MS Shell Dlg 2 face name was introduced in Windows 2000 to support the look that was introduced with Windows 2000.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.