Archived

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

DanTheRocker

Setting fonts for list boxes

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