Sign in to follow this  

Win32 Dialog Font question

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this