PDF properties page class. More...
#include <CCPDFPropPage.h>
Inherits CCPrintUIPropPage.
Public Member Functions | |
CCPDFPropPage (HANDLE hPrinter, IPrintOemDriverUI *pHelper, POEMDEV pDevMode=NULL) | |
Constructor. | |
Protected Member Functions | |
virtual BOOL | PageProc (UINT uMsg, WPARAM wParam, LPARAM lParam) |
Name of PDF file to create. | |
void | InitControls () |
Tests if the filename specified by the user is valid. |
PDF properties page class.
Definition at line 36 of file CCPDFPropPage.h.
CCPDFPropPage::CCPDFPropPage | ( | HANDLE | hPrinter, | |
IPrintOemDriverUI * | pHelper, | |||
POEMDEV | pDevMode = NULL | |||
) | [inline] |
Constructor.
hPrinter | Handle to the printer | |
pHelper | Pointer to the Print UI Core object | |
pDevMode | Pointer to the CCPrinter data structure (can be NULL) |
Definition at line 46 of file CCPDFPropPage.h.
void CCPDFPropPage::InitControls | ( | ) | [protected] |
Tests if the filename specified by the user is valid.
Initializes the page controls
Definition at line 114 of file CCPDFPropPage.cpp.
References tagOEMDEV::bAutoOpen, tagOEMDEV::bAutoURLs, tagOEMDEV::bCreateAsTemp, CanOpenPDFFiles(), CCPrintDlg::EnableDlgItem(), CCPrintUIPropPage::m_pDevMode, and CCPrintDlg::SetDlgItemCheck().
Referenced by PageProc().
BOOL CCPDFPropPage::PageProc | ( | UINT | uMsg, | |
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [protected, virtual] |
Name of PDF file to create.
Called when a window message is sent to the page
uMsg | ID of the message | |
wParam | First parameter of the message | |
lParam | Second parameter of the message |
Reimplemented from CCPrintDlg.
Definition at line 39 of file CCPDFPropPage.cpp.
References tagOEMDEV::bAutoOpen, tagOEMDEV::bAutoURLs, tagOEMDEV::bCreateAsTemp, CCPrintDlg::GetDlgItemCheck(), InitControls(), CCPrintUIPropPage::m_hComPropSheet, CCPrintUIPropPage::m_hPage, CCPrintUIPropPage::m_pDevMode, CCPrintUIPropPage::SetChanged(), and CCPrintDlg::SetDlgItemCheck().