FlatComboDemoDlg.h
上传用户:xmgzsj
上传日期:2007-01-01
资源大小:46k
文件大小:2k
源码类别:

组合框控件

开发平台:

Visual C++

  1. // FlatComboDemoDlg.h : header file
  2. //
  3. #if !defined(AFX_FLATCOMBODEMODLG_H__E5237FC6_2921_11D3_8730_000000000000__INCLUDED_)
  4. #define AFX_FLATCOMBODEMODLG_H__E5237FC6_2921_11D3_8730_000000000000__INCLUDED_
  5. #if _MSC_VER >= 1000
  6. #pragma once
  7. #endif // _MSC_VER >= 1000
  8. #include "CJColorPicker.h"
  9. #include "CJFlatComboBox.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CFlatComboDemoDlg dialog
  12. class CFlatComboDemoDlg : public CDialog
  13. {
  14. // Construction
  15. public:
  16. CFlatComboDemoDlg(CWnd* pParent = NULL); // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CFlatComboDemoDlg)
  19. enum { IDD = IDD_FLATCOMBODEMO_DIALOG };
  20. CCJColorPicker m_DLTextColor;
  21. CCJColorPicker m_DLBackColor;
  22. CCJColorPicker m_DDTextColor;
  23. CCJColorPicker m_DDBackColor;
  24. CCJFlatComboBox m_DDCombo;
  25. CCJFlatComboBox m_DLCombo;
  26. BOOL m_bDDAutoComp;
  27. BOOL m_bDDDisable;
  28. BOOL m_bDLDisable;
  29. //}}AFX_DATA
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CFlatComboDemoDlg)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. protected:
  37. COLORREF m_clrDLText;
  38. COLORREF m_clrDLBack;
  39. COLORREF m_clrDDText;
  40. COLORREF m_clrDDBack;
  41. HICON m_hIcon;
  42. // Generated message map functions
  43. //{{AFX_MSG(CFlatComboDemoDlg)
  44. virtual BOOL OnInitDialog();
  45. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  46. afx_msg void OnPaint();
  47. afx_msg HCURSOR OnQueryDragIcon();
  48. afx_msg void OnDroplistDisable();
  49. afx_msg void OnDropdownDisable();
  50. afx_msg void OnDropdownAutocomp();
  51. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  52. //}}AFX_MSG
  53. afx_msg void OnSelEndOK(UINT lParam, LONG wParam);
  54. DECLARE_MESSAGE_MAP()
  55. };
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  58. #endif // !defined(AFX_FLATCOMBODEMODLG_H__E5237FC6_2921_11D3_8730_000000000000__INCLUDED_)