CCPDFPropPage Class Reference

PDF properties page class. More...

#include <CCPDFPropPage.h>

Inherits CCPrintUIPropPage.

Collaboration diagram for CCPDFPropPage:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

PDF properties page class.

Definition at line 36 of file CCPDFPropPage.h.


Constructor & Destructor Documentation

CCPDFPropPage::CCPDFPropPage ( HANDLE  hPrinter,
IPrintOemDriverUI *  pHelper,
POEMDEV  pDevMode = NULL 
) [inline]

Constructor.

Parameters:
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.


Member Function Documentation

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

Parameters:
uMsg ID of the message
wParam First parameter of the message
lParam Second parameter of the message
Returns:
TRUE if handled, FALSE to continue handling 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().


The documentation for this class was generated from the following files:

Generated on Mon Jun 18 12:40:42 2012 for CC PDF Converter by doxygen 1.6.1