• Advertisement

Archived

This topic is now archived and is closed to further replies.

Setting fonts in Win32

This topic is 5704 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

I have a window with lots of child windows (common controls). How would I go about changing the font for individual buttons, text fields, combo boxes, etc.? -Mike

Share this post


Link to post
Share on other sites
Advertisement
WM_SETFONT?

---
Come to #directxdev IRC channel on AfterNET

Share this post


Link to post
Share on other sites
Thanks, that worked. Another question: How do I simply select a pre-installed font to use? I have found is CreateFont(), but it only seems to be useful for custom fonts.

-Mike

Share this post


Link to post
Share on other sites
Check out FindResource(), LoadResource(), FreeResource() and LockResource()

Crispy

Share this post


Link to post
Share on other sites

  • Advertisement