XCombo.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // XCombo.h : header file
  2. //
  3. #ifndef XCOMBO_H
  4. #define XCOMBO_H
  5. #include "AdvComboBox.h"
  6. #include "XComboList.h"
  7. extern UINT WM_XCOMBOLIST_COMPLETE;
  8. //extern UINT WM_XCOMBOLIST_VK_ESCAPE;
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CXCombo window
  11. class CXCombo : public CAdvComboBox
  12. {
  13. // Construction
  14. public:
  15. CXCombo(CWnd * pParent);
  16. virtual ~CXCombo();
  17. // Attributes
  18. public:
  19. // Operations
  20. public:
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CXCombo)
  24. protected:
  25. //}}AFX_VIRTUAL
  26. virtual void OnEscapeKey();
  27. virtual void OnComboComplete();
  28. // Implementation
  29. protected:
  30. CWnd * m_pParent;
  31. void SendRegisteredMessage(UINT nMsg, WPARAM wParam, LPARAM lParam);
  32. // Generated message map functions
  33. protected:
  34. //{{AFX_MSG(CXCombo)
  35. afx_msg void OnKillFocus(CWnd* pNewWnd);
  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 //XCOMBO_H