void CWinApp::OnFilePrintSetup()
{
   CPrintDialog pd(TRUE);
   DoPrintDialog(&pd);
}

Example 1: The CWinApp::OnFilePrintSetup function.

Back to Article