Archived

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

changing fonts

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

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

Share this post


Link to post
Share on other sites
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 | * |
                                  \-/
----------------------------------------

Share this post


Link to post
Share on other sites