ClrWellDemoDlg.h
上传用户:dengyong
上传日期:2007-01-01
资源大小:40k
文件大小:2k
源码类别:

组合框控件

开发平台:

Visual C++

  1. // ClrWellDemoDlg.h : header file
  2. //
  3. #if !defined(AFX_CLRWELLDEMODLG_H__D13C6689_9EED_11D2_8DF1_00104B2A8A87__INCLUDED_)
  4. #define AFX_CLRWELLDEMODLG_H__D13C6689_9EED_11D2_8DF1_00104B2A8A87__INCLUDED_
  5. #if _MSC_VER >= 1000
  6. #pragma once
  7. #endif // _MSC_VER >= 1000
  8. #include "ColorBtn.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CClrWellDemoDlg dialog
  11. class CClrWellDemoDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CClrWellDemoDlg(CWnd* pParent = NULL); // standard constructor
  16.    CColorBtn m_ColorButton;
  17. // Dialog Data
  18. //{{AFX_DATA(CClrWellDemoDlg)
  19. enum { IDD = IDD_CLRWELLDEMO_DIALOG };
  20. CSpinButtonCtrl m_OuterBorderSpin;
  21. CSpinButtonCtrl m_NumColsSpin;
  22. CSpinButtonCtrl m_InnerBorderSpin;
  23. CButton m_Update;
  24. CSpinButtonCtrl m_WellHeightSpin;
  25. CEdit m_WellHeightEdit;
  26. CSliderCtrl m_SliderControl;
  27. BOOL m_Aqua;
  28. BOOL m_Black;
  29. BOOL m_Blue;
  30. BOOL m_Fuschia;
  31. BOOL m_Gray;
  32. BOOL m_Green;
  33. BOOL m_Lime;
  34. BOOL m_Maroon;
  35. BOOL m_Navy;
  36. BOOL m_Olive;
  37. BOOL m_Purple;
  38. BOOL m_Red;
  39. BOOL m_Silver;
  40. BOOL m_Teal;
  41. BOOL m_White;
  42. BOOL m_Yellow;
  43. BOOL m_IsotropicWells;
  44. int m_OuterBorder;
  45. int m_InnerBorder;
  46. int m_NumCols;
  47. int m_WellHeight;
  48. int m_Shape;
  49. //}}AFX_DATA
  50. // ClassWizard generated virtual function overrides
  51. //{{AFX_VIRTUAL(CClrWellDemoDlg)
  52. protected:
  53. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  54. //}}AFX_VIRTUAL
  55. // Implementation
  56. protected:
  57. HICON m_hIcon;
  58. // Generated message map functions
  59. //{{AFX_MSG(CClrWellDemoDlg)
  60. virtual BOOL OnInitDialog();
  61. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  62. afx_msg void OnPaint();
  63. afx_msg HCURSOR OnQueryDragIcon();
  64. afx_msg void OnIsotropicwells();
  65. afx_msg void OnUpdate();
  66. //}}AFX_MSG
  67. DECLARE_MESSAGE_MAP()
  68. };
  69. //{{AFX_INSERT_LOCATION}}
  70. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  71. #endif // !defined(AFX_CLRWELLDEMODLG_H__D13C6689_9EED_11D2_8DF1_00104B2A8A87__INCLUDED_)