home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / tstcon / macrocb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.2 KB  |  55 lines

  1. #if !defined(AFX_MACROCOMBOBOX_H__4E83BE2F_3F5E_11D1_8E47_00C04FB68D60__INCLUDED_)
  2. #define AFX_MACROCOMBOBOX_H__4E83BE2F_3F5E_11D1_8E47_00C04FB68D60__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // MacroComboBox.H : header file
  8. //
  9.  
  10. #define MCBN_RETURN WM_APP
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CMacroComboBox window
  14.  
  15. class CMacroComboBox : public CComboBox
  16. {
  17. // Construction
  18. public:
  19.     CMacroComboBox();
  20.  
  21. // Attributes
  22. public:
  23.  
  24. // Operations
  25. public:
  26.  
  27. // Overrides
  28.     // ClassWizard generated virtual function overrides
  29.     //{{AFX_VIRTUAL(CMacroComboBox)
  30.     public:
  31.     virtual BOOL PreTranslateMessage(MSG* pMsg);
  32.     //}}AFX_VIRTUAL
  33.  
  34. // Implementation
  35. public:
  36.     virtual ~CMacroComboBox();
  37.  
  38. protected:
  39.    void AddMRUEntry( LPCTSTR pszMacroName );
  40.  
  41.     // Generated message map functions
  42. protected:
  43.     //{{AFX_MSG(CMacroComboBox)
  44.     //}}AFX_MSG
  45.  
  46.     DECLARE_MESSAGE_MAP()
  47. };
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50.  
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  53.  
  54. #endif // !defined(AFX_MACROCOMBOBOX_H__4E83BE2F_3F5E_11D1_8E47_00C04FB68D60__INCLUDED_)
  55.