MCComboBoxSampleDlg.h
上传用户:hzw123hzw
上传日期:2007-01-01
资源大小:18k
文件大小:1k
源码类别:

组合框控件

开发平台:

Visual C++

  1. // MCComboBoxSampleDlg.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CMCComboBoxSampleDlg dialog
  5. #include "MultiColumnComboBox.h"
  6. class CMCComboBoxSampleDlg : public CDialog
  7. {
  8. // Construction
  9. public:
  10. CMCComboBoxSampleDlg(CWnd* pParent = NULL); // standard constructor
  11. // Dialog Data
  12. //{{AFX_DATA(CMCComboBoxSampleDlg)
  13. enum { IDD = IDD_MCCOMBOBOXSAMPLE_DIALOG };
  14. CMultiColumnComboBox m_ComboBoxControl4;
  15. CMultiColumnComboBox m_ComboBoxControl3;
  16. CMultiColumnComboBox m_ComboBoxControl2;
  17. CMultiColumnComboBox m_ComboBoxControl1;
  18. CString m_ComboBoxString1;
  19. CString m_ComboBoxString2;
  20. CString m_ComboBoxString3;
  21. CString m_ComboBoxString4;
  22. //}}AFX_DATA
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CMCComboBoxSampleDlg)
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. HICON m_hIcon;
  31. // Generated message map functions
  32. //{{AFX_MSG(CMCComboBoxSampleDlg)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  35. afx_msg void OnPaint();
  36. afx_msg HCURSOR OnQueryDragIcon();
  37. afx_msg void OnEnableddisabled();
  38. virtual void OnOK();
  39. afx_msg void OnDropdownCombo1();
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. };