I have created a dialog application and in the application the user has an option to print. I have created a button on the dialog that when double clicked, the function for printing some text info will be printed. In the function for printing I want to change the font-Size, type, etc. but i am having problems with changing the font. The text will print out to the HP laser 4 printer,but regardless of what font type I create using CFont.Create, the
font never changes.
How do I change the font in a dialog application using CFont and CDC since their is no CView class or OnDraw(CDC* pDC) function.