Jump to content
  • Advertisement


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


Setting fonts for list boxes

This topic is 6068 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 think this will work:

SendMessage((HWND)YourListBoxHWnd, WM_SETFONT, (WPARAM)YourFont, MAKELPARAM(FALSE, 0));

where YourListBoxHWnd is the HWnd returned when you create the listbox, and YourFont is the font (a variable of type HFONT)...
i might be wrong, though

--- krez (krezisback@aol.com)

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!