NMDIClient.h
上传用户:libwxy
上传日期:2007-01-02
资源大小:200k
文件大小: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. #pragma message ("Include "__FILE__)
  20. #ifndef NGTB_PROJECT
  21. #define NGTB_EXPORT __declspec(dllimport)
  22. #else
  23. #define NGTB_EXPORT __declspec(dllexport)
  24. #endif
  25. #undef AFX_DATA
  26. #define AFX_DATA NGTB_EXPORT
  27. class CNGenericMenu;
  28. /////////////////////////////////////////////////////////////////////////////
  29. // CNMDIClient window
  30. class CNMDIClient : public CWnd
  31. {
  32. public:
  33. CNGenericMenu* m_pMenu;
  34. NGTB_EXPORT CNMDIClient(CNGenericMenu* pMenu);
  35. NGTB_EXPORT virtual ~CNMDIClient();
  36. protected:
  37. //{{AFX_VIRTUAL(CNMDIClient)
  38. // virtual void PostNcDestroy();
  39. //}}AFX_VIRTUAL
  40. //{{AFX_MSG(CNMDIClient)
  41. //}}AFX_MSG
  42. afx_msg LRESULT OnSetMenu(WPARAM wParam, LPARAM lParam);
  43. DECLARE_MESSAGE_MAP()
  44. };
  45. /////////////////////////////////////////////////////////////////////////////
  46. //{{AFX_INSERT_LOCATION}}
  47. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  48. #undef AFX_DATA
  49. #define AFX_DATA
  50. #endif // !defined(AFX_NMDICLIENT_H__2F686112_A464_11D1_B0D4_00A0C94457BF__INCLUDED_)