Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
1.8 KiB

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*******************************************************************************
  3. *
  4. * basedrpe.h
  5. *
  6. * interface of CBaseDropEditBox and CBaseDropEditControl classes
  7. * The CBaseDropEditBox class does things the way we like, overriding the base
  8. * CComboBox class.
  9. *
  10. * copyright notice: Copyright 1995, Citrix Systems Inc.
  11. *
  12. * $Author: butchd $ Butch Davis
  13. *
  14. * $Log: N:\NT\PRIVATE\UTILS\CITRIX\WINUTILS\COMMON\VCS\BASEDRPE.H $
  15. *
  16. * Rev 1.1 29 Dec 1995 17:19:20 butchd
  17. * update
  18. *
  19. *******************************************************************************/
  20. #ifndef BASEDRPE_INCLUDED
  21. ////////////////////////////////////////////////////////////////////////////////
  22. // CBaseDropEditControl class
  23. //
  24. class CBaseDropEditControl : public CEdit
  25. {
  26. /*
  27. * Member variables.
  28. */
  29. public:
  30. private:
  31. CComboBox *m_pComboBoxControl;
  32. /*
  33. * Operations.
  34. */
  35. public:
  36. BOOL Subclass(CComboBox *pWnd);
  37. /*
  38. * Message map / commands.
  39. */
  40. protected:
  41. //{{AFX_MSG(CBaseDropEditControl)
  42. afx_msg UINT OnGetDlgCode();
  43. afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. }; // end CBaseDropEditControl class interface
  47. ////////////////////////////////////////////////////////////////////////////////
  48. // CBaseDropEditBox class
  49. //
  50. class CBaseDropEditBox : public CComboBox
  51. {
  52. /*
  53. * Member variables.
  54. */
  55. public:
  56. private:
  57. CBaseDropEditControl m_EditControl;
  58. /*
  59. * Operations.
  60. */
  61. public:
  62. void Subclass(CComboBox *pWnd);
  63. /*
  64. * Message map / commands.
  65. */
  66. protected:
  67. //{{AFX_MSG(CBaseDropEditBox)
  68. afx_msg UINT OnGetDlgCode();
  69. afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
  70. //}}AFX_MSG
  71. DECLARE_MESSAGE_MAP()
  72. }; // end CBaseDropEditBox class interface
  73. ////////////////////////////////////////////////////////////////////////////////
  74. #define BASEDRPE_INCLUDED
  75. #endif