FlatComboBoxExampleDlg.h
上传用户:hbjdyb2005
上传日期:2021-01-26
资源大小:168k
文件大小:2k
源码类别:

组合框控件

开发平台:

Visual C++

  1. // FlatComboBoxExampleDlg.h : header file
  2. //
  3. #if !defined(AFX_FLATCOMBOBOXEXAMPLEDLG_H__00F4D766_EDA8_11D2_AFD3_90DD7D68E952__INCLUDED_)
  4. #define AFX_FLATCOMBOBOXEXAMPLEDLG_H__00F4D766_EDA8_11D2_AFD3_90DD7D68E952__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CFlatComboBoxExampleDlg dialog
  10. #include "FlatComboBox.h"
  11. class CFlatComboBoxExampleDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CFlatComboBoxExampleDlg(CWnd* pParent = NULL); // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CFlatComboBoxExampleDlg)
  18. enum { IDD = IDD_FLATCOMBOBOXEXAMPLE_DIALOG };
  19. // NOTE: the ClassWizard will add data members here
  20. //}}AFX_DATA
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CFlatComboBoxExampleDlg)
  23. protected:
  24. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  25. //}}AFX_VIRTUAL
  26. // Implementation
  27. protected:
  28. HICON m_hIcon;
  29. // Generated message map functions
  30. //{{AFX_MSG(CFlatComboBoxExampleDlg)
  31. virtual BOOL OnInitDialog();
  32. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  33. afx_msg void OnPaint();
  34. afx_msg HCURSOR OnQueryDragIcon();
  35. //}}AFX_MSG
  36. DECLARE_MESSAGE_MAP()
  37. private:
  38. CFlatComboBox m_combo;
  39. };
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_FLATCOMBOBOXEXAMPLEDLG_H__00F4D766_EDA8_11D2_AFD3_90DD7D68E952__INCLUDED_)