PicSizeDlg.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. #if !defined(AFX_PICSIZEDLG_H__9B18B035_0425_4F42_9928_F584752A70BF__INCLUDED_)
  2. #define AFX_PICSIZEDLG_H__9B18B035_0425_4F42_9928_F584752A70BF__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PicSizeDlg.h : header file
  7. //
  8. #include "resource.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CPicSizeDlg dialog
  11. class CPicSizeDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CPicSizeDlg(CWnd* pParent = NULL); // standard constructor
  16. COLORREF m_clrBack;
  17. // Dialog Data
  18. //{{AFX_DATA(CPicSizeDlg)
  19. enum { IDD = IDD_DIALOG_PICPRO };
  20. int m_nPictureHeight;
  21. int m_nPictureWidth;
  22. int m_nGridSize;
  23. BOOL m_bGrid;
  24. //}}AFX_DATA
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CPicSizeDlg)
  28. protected:
  29. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. protected:
  33. // Generated message map functions
  34. //{{AFX_MSG(CPicSizeDlg)
  35. afx_msg void OnBackcolor();
  36. afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. };
  40. class CInsertDeviceDlg : public CDialog
  41. {
  42. // Construction
  43. public:
  44. CInsertDeviceDlg(CWnd* pParent = NULL); // standard constructor
  45. // Dialog Data
  46. //{{AFX_DATA(CInsertDeviceDlg)
  47. enum { IDD = IDD_INSERT_DEVICE };
  48. CString m_strDevice;
  49. //}}AFX_DATA
  50. // Overrides
  51. // ClassWizard generated virtual function overrides
  52. //{{AFX_VIRTUAL(CInsertDeviceDlg)
  53. protected:
  54. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  55. //}}AFX_VIRTUAL
  56. // Implementation
  57. protected:
  58. // Generated message map functions
  59. //{{AFX_MSG(CInsertDeviceDlg)
  60. virtual BOOL OnInitDialog();
  61. afx_msg void OnDblclkList();
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. };
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_PICSIZEDLG_H__9B18B035_0425_4F42_9928_F584752A70BF__INCLUDED_)