#if !defined(AFX_PJOBPAGE_H__0595BE7A_88D2_4F00_AC0C_4E4411E64F50__INCLUDED_) #define AFX_PJOBPAGE_H__0595BE7A_88D2_4F00_AC0C_4E4411E64F50__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // PJobPage.h : header file // ///////////////////////////////////////////////////////////////////////////// // CPrintJobsPage dialog class CPrintJobsPage : public CPropertyPage { DECLARE_DYNCREATE(CPrintJobsPage) // Construction public: CPrintJobsPage(); ~CPrintJobsPage(); void AddPrintJob(L_PCSTR pszPrintJobInstanceUID); void AddNotification(L_PCSTR pszPrintJobInstanceUID, L_UINT16 uEventTypeID, const pPRINTJOBREPORTINFO pReportInfo); void Reset(); void UpdateControlsState(); BOOL m_bReset; BOOL m_bPendingOperation; // Dialog Data //{{AFX_DATA(CPrintJobsPage) enum { IDD = IDD_PRINTJOBS_PAGE }; CListCtrl m_PrintJobInfoListCtrl; CListCtrl m_NotificationsListCtrl; CTreeCtrl m_PrintJobsTree; //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CPrintJobsPage) public: virtual BOOL OnSetActive(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CPrintJobsPage) virtual BOOL OnInitDialog(); afx_msg void OnSelChangedTreePrintJobs(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnDestroy(); afx_msg void OnEndLabelEditTreePrintJobs(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnButtonGet(); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: CString GetPrintJobName(L_PCSTR pszPrintJobInstanceUID); void ClearPrintJobsInfoTree(); void ClearNotificationsListCtrl(); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_PJOBPAGE_H__0595BE7A_88D2_4F00_AC0C_4E4411E64F50__INCLUDED_)