DemoDlg.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // DemoDlg.h : header file
  2. //
  3. #if !defined(AFX_TESTCOMBOBOXDLG_H__CA544F9E_0749_4281_8E00_EED3872CDCAC__INCLUDED_)
  4. #define AFX_TESTCOMBOBOXDLG_H__CA544F9E_0749_4281_8E00_EED3872CDCAC__INCLUDED_
  5. #include "ResizableComboBox.h"
  6. #include "ResizableDialog.h"
  7. #if _MSC_VER > 1000
  8. #pragma once
  9. #endif // _MSC_VER > 1000
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CDemoDlg dialog
  12. class CDemoDlg : public CResizableDialog
  13. {
  14. // Construction
  15. public:
  16. CDemoDlg(CWnd* pParent = NULL); // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CDemoDlg)
  19. enum { IDD = IDD_TESTCOMBOBOX_DIALOG };
  20. CListBox m_ctrlList1;
  21. CResizableComboBox m_ctrlCombo1;
  22. //}}AFX_DATA
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CDemoDlg)
  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(CDemoDlg)
  33. virtual BOOL OnInitDialog();
  34. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  35. afx_msg void OnButton1();
  36. afx_msg void OnButton2();
  37. afx_msg void OnButton3();
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. //{{AFX_INSERT_LOCATION}}
  42. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  43. #endif // !defined(AFX_TESTCOMBOBOXDLG_H__CA544F9E_0749_4281_8E00_EED3872CDCAC__INCLUDED_)