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.

62 lines
1.7 KiB

  1. #if !defined(AFX_WIASIMPLEDOCPG_H__B381D147_AF77_49A4_9DC1_4E8F9F28C8BD__INCLUDED_)
  2. #define AFX_WIASIMPLEDOCPG_H__B381D147_AF77_49A4_9DC1_4E8F9F28C8BD__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // WiaSimpleDocPg.h : header file
  7. //
  8. #define DOCUMENT_SOURCE_FLATBED 0
  9. #define DOCUMENT_SOURCE_FEEDER 1
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CWiaSimpleDocPg dialog
  12. class CWiaSimpleDocPg : public CPropertyPage
  13. {
  14. DECLARE_DYNCREATE(CWiaSimpleDocPg)
  15. // Construction
  16. public:
  17. IWiaItem *m_pIRootItem;
  18. CWiaSimpleDocPg();
  19. ~CWiaSimpleDocPg();
  20. // Dialog Data
  21. //{{AFX_DATA(CWiaSimpleDocPg)
  22. enum { IDD = IDD_PROPPAGE_SIMPLE_DOCUMENT_SCANNERS_SETTINGS };
  23. CEdit m_lPages;
  24. CStatic m_lPagesText;
  25. CComboBox m_DocumentSourceComboBox;
  26. //}}AFX_DATA
  27. // Overrides
  28. // ClassWizard generate virtual function overrides
  29. //{{AFX_VIRTUAL(CWiaSimpleDocPg)
  30. public:
  31. virtual BOOL OnApply();
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. BOOL m_bFirstInit;
  38. int GetSelectedDocumentSource();
  39. int GetNumberOfPagesToAcquire();
  40. // Generated message map functions
  41. //{{AFX_MSG(CWiaSimpleDocPg)
  42. virtual BOOL OnInitDialog();
  43. afx_msg void OnSelchangeDocumentSourceCombobox();
  44. afx_msg void OnUpdateNumberofPagesEditbox();
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. };
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_WIASIMPLEDOCPG_H__B381D147_AF77_49A4_9DC1_4E8F9F28C8BD__INCLUDED_)