ComBoxDlg.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #pragma once
  2. #include "DlgControlItem.h"
  3. // CComBoxDlg 对话框
  4. class CComBoxDlg : public CDlgControlItem
  5. {
  6. DECLARE_DYNAMIC(CComBoxDlg)
  7. protected:
  8. CComboBox m_ComboBox1;
  9. CComboBox m_ComboBox2;
  10. CComboBox m_ComboBox3;
  11. CComboBox m_ComboBox4;
  12. CSkinComboBox m_SkinComboBox;
  13. CSkinComboBox m_SkinComboBox2;
  14. public:
  15. CComBoxDlg(CWnd* pParent = NULL); // 标准构造函数
  16. virtual ~CComBoxDlg();
  17. // 对话框数据
  18. enum { IDD = IDD_COMBOX };
  19. protected:
  20. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
  21. //窗口绘制
  22. virtual void DrawClientArea(CDC*pDC,int nWidth,int nHeight);
  23. DECLARE_MESSAGE_MAP()
  24. public:
  25. virtual BOOL OnInitDialog();
  26. void SetCombox(LPCTSTR lpAppName,LPCTSTR lpKeyName,LPCTSTR lpItemKeyName,CComboBox * pCComboBox );
  27. afx_msg void OnBnClickedButton1();
  28. afx_msg void OnBnClickedButton2();
  29. afx_msg void OnBnClickedButton3();
  30. afx_msg void OnBnClickedButton14();
  31. afx_msg void OnBnClickedButton16();
  32. afx_msg void OnBnClickedButton15();
  33. afx_msg void OnBnClickedButton17();
  34. afx_msg void OnDestroy();
  35. afx_msg void OnBnClickedButton4();
  36. afx_msg void OnBnClickedButton8();
  37. afx_msg void OnCbnSelchangeCombo3();
  38. afx_msg void OnBnClickedButton5();
  39. //Edit移开
  40. LRESULT OnRButtonUp(WPARAM wParam, LPARAM lParam);
  41. };