How to hide print dialog box?

L

larry

I'm trying to print screen in my MFC application. I want to capture
screen in OnBeginPrinting( ), but my program capture the print dialog
box too. How can I hide print dialog box and just print using my default
print setup.

Thanks ahead.


Larry

Larry
 
D

David Lowndes

I'm trying to print screen in my MFC application. I want to capture
screen in OnBeginPrinting( ), but my program capture the print dialog
box too. How can I hide print dialog box and just print using my default
print setup.

Larry,

Have a look on MSDN for CPrintInfo::m_bDirect

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top