C/C++
cprog012.txt
Associated article: Quincy 2000: Customizing the Print Dialogs
Tags: C/C++
Published source code accompanying the article by Al Stevens in which he continues his customization of Quincy 2000's print dialogs.
C Programming
by Al Stevens
Example 1:
void CWinApp::OnFilePrintSetup()
{
CPrintDialog pd(TRUE);
DoPrintDialog(&pd);
}
Example 2:
void CQuincyApp::OnFilePrintSetup()
{
CQuincyPrintDialog pd(TRUE);
pd.printlinenumbers = m_bPrintLineNos;
if (DoPrintDialog(&pd) == IDOK)
m_bPrintLineNos = pd.printlinenumbers;
}
Listing One
#if !defined(AFX_...


