Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.7 KiB

  1. #ifndef _ADFDLG_H
  2. #define _ADFDLG_H
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ADFDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CADFDlg dialog
  10. class CADFDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CADFDlg(ADF_SETTINGS *pADFSettings, CWnd* pParent = NULL); // standard constructor
  15. UINT m_MaxPagesAllowed;
  16. // Dialog Data
  17. //{{AFX_DATA(CADFDlg)
  18. enum { IDD = IDD_ADF_SETTING_DIALOG };
  19. CComboBox m_PageOrderComboBox;
  20. CComboBox m_ADFModeComboBox;
  21. CEdit m_ScanNumberOfPagesEditBox;
  22. CString m_ADFStatusText;
  23. UINT m_NumberOfPages;
  24. CButton m_ScanAllPages;
  25. CButton m_ScanNumberOfPages;
  26. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generated virtual function overrides
  29. //{{AFX_VIRTUAL(CADFDlg)
  30. public:
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. protected:
  36. ADF_SETTINGS *m_pADFSettings;
  37. LONG m_DocumentHandlingSelectBackup;
  38. VOID InitStatusText();
  39. VOID InitFeederModeComboBox();
  40. VOID InitPageOrderComboBox();
  41. INT GetIDAndStringFromDocHandlingStatus(LONG lDocHandlingStatus, TCHAR *pszString);
  42. // Generated message map functions
  43. //{{AFX_MSG(CADFDlg)
  44. afx_msg void OnKillfocusNumberOfPagesEditbox();
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnScanAllPagesRadiobutton();
  47. afx_msg void OnScanSpecifiedPagesRadiobutton();
  48. afx_msg void OnSelchangeAdfModeCombobox();
  49. virtual void OnOK();
  50. virtual void OnCancel();
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56. #endif