Advertisement

changing fonts

Started by February 20, 2002 10:11 AM
0 comments, last by jobrady 23 years ago
Im using the bitmap fonts code (lesson 13) to display fonts in my app but I want to change to a different font for part of it. I created the two fonts but using "SelectObject(hDC, oldfont2);" to change font at the part in q doesn''t work. Could anyone please tell me how you do this???? Thanks, Joe
Dunno how you would approach it in C, but in C++ the object oriented nature of the code fixes that problem by itself *g*

Check out the class which wraps up NeHe''s bitmap code in the Infinite.Scream engine on my website.



-------- E y e .Scream Software --------
----------------------------------------
                                  /-\
    http://www.eyescream.cjb.net | * |
                                  \-/
----------------------------------------

This topic is closed to new replies.

Advertisement