NMDIClient.h
上传用户:whjcdz88
上传日期:2007-01-02
资源大小:350k
文件大小:2k
源码类别:

工具条

开发平台:

Visual C++

  1. #if !defined(AFX_NMDICLIENT_H__2F686112_A464_11D1_B0D4_00A0C94457BF__INCLUDED_)
  2. #define AFX_NMDICLIENT_H__2F686112_A464_11D1_B0D4_00A0C94457BF__INCLUDED_
  3. /*
  4. Copyright (C) 1998 Tony Hoyle (tmh@netfusion.co.uk)
  5. This program is free software; you can redistribute it and/or modify it under the terms
  6. of the GNU General Public License as published by the Free Software Foundation; either
  7. version 2 of the License, or (at your option) any later version.
  8. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  9. without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. See the GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License along with this program;
  12. if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  13. */
  14. #if _MSC_VER >= 1000
  15. #pragma once
  16. #endif // _MSC_VER >= 1000
  17. // NMDIClient.h : header file
  18. //
  19. #ifndef NGTB_PROJECT
  20. #define NGTB_EXPORT __declspec(dllimport)
  21. #else
  22. #define NGTB_EXPORT __declspec(dllexport)
  23. #endif
  24. #undef AFX_DATA
  25. #define AFX_DATA NGTB_EXPORT
  26. class CNGenericMenu;
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CNMDIClient window
  29. class CNMDIClient : public CWnd
  30. {
  31. public:
  32. CNGenericMenu* m_pMenu;
  33. NGTB_EXPORT CNMDIClient(CNGenericMenu* pMenu);
  34. NGTB_EXPORT virtual ~CNMDIClient();
  35. protected:
  36. //{{AFX_VIRTUAL(CNMDIClient)
  37. virtual void PostNcDestroy();
  38. //}}AFX_VIRTUAL
  39. //{{AFX_MSG(CNMDIClient)
  40. //}}AFX_MSG
  41. afx_msg LRESULT OnSetMenu(WPARAM wParam, LPARAM lParam);
  42. DECLARE_MESSAGE_MAP()
  43. };
  44. /////////////////////////////////////////////////////////////////////////////
  45. //{{AFX_INSERT_LOCATION}}
  46. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  47. #undef AFX_DATA
  48. #define AFX_DATA
  49. #endif // !defined(AFX_NMDICLIENT_H__2F686112_A464_11D1_B0D4_00A0C94457BF__INCLUDED_)