ComboBoxSearch.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. #define CB_SEARCH WM_USER+0x104
  9. class CComboBoxSearch : public CComboBox
  10. {
  11. // Construction
  12. public:
  13. CComboBoxSearch();
  14. // Attributes
  15. public:
  16. // Operations
  17. public:
  18. BOOL GetShowingDropDown() { return m_bShowingDropDown; }
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CComboBoxSearch)
  22. public:
  23. virtual BOOL PreTranslateMessage(MSG* pMsg);
  24. //}}AFX_VIRTUAL
  25. protected:
  26. BOOL m_bShowingDropDown;
  27. // Implementation
  28. public:
  29. virtual ~CComboBoxSearch();
  30. // Generated message map functions
  31. protected:
  32. //{{AFX_MSG(CComboBoxSearch)
  33. afx_msg void OnDropdown();
  34. afx_msg void OnSelendcancel();
  35. afx_msg void OnSelendok();
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. };
  39. /////////////////////////////////////////////////////////////////////////////
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_COMBOBOXSEARCH_H__24A1E936_2E2A_45D5_99F8_0BDC62E3F2A9__INCLUDED_)