Setting fonts in Win32

Started by
2 comments, last by doctorsixstring 21 years, 9 months ago
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
Advertisement
WM_SETFONT?

---
Come to #directxdev IRC channel on AfterNET
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
Check out FindResource(), LoadResource(), FreeResource() and LockResource()

Crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared

This topic is closed to new replies.

Advertisement