XDesignPopupMenu.h
上传用户:yangzi5763
上传日期:2007-01-02
资源大小:239k
文件大小:1k
源码类别:

ActiveX/DCOM/ATL

开发平台:

Visual C++

  1. /************************************
  2.   REVISION LOG ENTRY
  3.   Revision By: Mihai Filimon
  4.   Revised on 10/14/98 12:17:34 PM
  5.   Comments: XDesignPopupMenu.h: interface for the CXDesignPopupMenu class.
  6.  ************************************/
  7. #if !defined(AFX_XDESIGNPOPUPMENU_H__567504B8_6335_11D2_86BB_0040055C08D9__INCLUDED_)
  8. #define AFX_XDESIGNPOPUPMENU_H__567504B8_6335_11D2_86BB_0040055C08D9__INCLUDED_
  9. #if _MSC_VER >= 1000
  10. #pragma once
  11. #endif // _MSC_VER >= 1000
  12. #include <afxwin.h>
  13. class CXDesignPopupMenu : public CMenu  
  14. {
  15. public:
  16. virtual BOOL Show();
  17. virtual CMenu* GetPopupMenu();
  18. CXDesignPopupMenu(UINT nIDMenu, LPCTSTR lpszPopupName, CPoint p, CWnd* pParentWnd );
  19. virtual ~CXDesignPopupMenu();
  20. protected:
  21. CWnd* m_pParentWnd;
  22. CPoint m_point;
  23. CMenu* m_pPopupMenu;
  24. };
  25. #endif // !defined(AFX_XDESIGNPOPUPMENU_H__567504B8_6335_11D2_86BB_0040055C08D9__INCLUDED_)