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

工具条

开发平台:

Visual C++

  1. // NGenericDockBar.h: interface for the CNGenericDockBar class.
  2. //
  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. //////////////////////////////////////////////////////////////////////
  15. #if !defined(AFX_NGENERICDOCKBAR_H__D09C39E2_A6EB_11D1_B0D4_00A0C94457BF__INCLUDED_)
  16. #define AFX_NGENERICDOCKBAR_H__D09C39E2_A6EB_11D1_B0D4_00A0C94457BF__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. #include "afxpriv.h"
  21. #ifndef NGTB_PROJECT
  22. #define NGTB_EXPORT __declspec(dllimport)
  23. #else
  24. #define NGTB_EXPORT __declspec(dllexport)
  25. #endif
  26. class NGTB_EXPORT CNGenericDockBar : public CDockBar
  27. {
  28. DECLARE_DYNCREATE(CNGenericDockBar)
  29. public:
  30. CNGenericDockBar();
  31. virtual ~CNGenericDockBar();
  32. virtual CSize CalcFixedLayout( BOOL bStretch, BOOL bHorz );
  33. protected:
  34. //{{AFX_MSG(CNGenericDockBar)
  35. //}}AFX_MSG
  36. DECLARE_MESSAGE_MAP()
  37. };
  38. #endif // !defined(AFX_NGENERICDOCKBAR_H__D09C39E2_A6EB_11D1_B0D4_00A0C94457BF__INCLUDED_)