Advertisement Jump to content
Sign in to follow this  

Win32 Dialog Font question

This topic is 4337 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I use a dialog that I created using the VisualStudio resource editor in my program that uses DS_SETFONT. When I choose a bigger/smaller font in the resource editor, the dialog gets bigger/smaller. So what I want to achieve is: the user selects a font face and size (I have that already) and then the dialog opens with that font for all controls and correctly sized as if changed in the resource editor. How do I do that? Do I have to respond to the first WM_SETFONT message? Thanks in advance

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!