ComboBoxSearch.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #if !defined(AFX_COMBOBOXSEARCH_H__24A1E936_2E2A_45D5_99F8_0BDC62E3F2A9__INCLUDED_)
  2. #define AFX_COMBOBOXSEARCH_H__24A1E936_2E2A_45D5_99F8_0BDC62E3F2A9__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ComboBoxSearch.h : header file
  7. //
  8. class CComboBoxSearch : public CComboBox
  9. {
  10. // Construction
  11. public:
  12. CComboBoxSearch();
  13. // Attributes
  14. public:
  15. // Operations
  16. public:
  17. BOOL GetShowingDropDown() { return m_bShowingDropDown; }
  18. // Overrides
  19. // ClassWizard generated virtual function overrides
  20. //{{AFX_VIRTUAL(CComboBoxSearch)
  21. public:
  22. virtual BOOL PreTranslateMessage(MSG* pMsg);
  23. //}}AFX_VIRTUAL
  24. protected:
  25. BOOL m_bShowingDropDown;
  26. // Implementation
  27. public:
  28. virtual ~CComboBoxSearch();
  29. // Generated message map functions
  30. protected:
  31. //{{AFX_MSG(CComboBoxSearch)
  32. afx_msg void OnDropdown();
  33. afx_msg void OnSelendcancel();
  34. afx_msg void OnSelendok();
  35. //}}AFX_MSG
  36. DECLARE_MESSAGE_MAP()
  37. };
  38. /////////////////////////////////////////////////////////////////////////////
  39. //{{AFX_INSERT_LOCATION}}
  40. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  41. #endif // !defined(AFX_COMBOBOXSEARCH_H__24A1E936_2E2A_45D5_99F8_0BDC62E3F2A9__INCLUDED_)