Help with tutorial 13, bitmap fonts.
Hey, Im trying to add the code from tutorial 13 into my MFC app to create active text. Im adding these functions to my doc class and I had to specify an ''HDC hDC'' (not sure if that is the way to get a DC) for it to compile. No text is displayed though. I know it has something to do with the DC. I read in another forum that this tutorial will only work in the VIEW class. Is this right? How can I make it work in the DOC class? (thats where my "RenderScene" function is)
thanks
December 10, 2002 03:20 PM
If you''re in MFC, there is already a raster layer provided. You don''t need to use the OpenGL rasters...I''m not sure you can. Just look at www.codeguru.com under SDI or MDI app programming for code to display in the window (you can even draw off-window with MFC)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement