How to hide print dialog box?

  • Thread starter Thread starter larry
  • Start date Start date
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
 
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
 
Back
Top