home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 21 / IOPROG_21.ISO / SOFT / DEMOT.ZIP / Src / Include / DockBarEx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-23  |  2.0 KB  |  78 lines

  1. // DockBarEx.h : header file
  2. // Copyright ⌐1998 - Kirk Stowell
  3. // All Rights Reserved.
  4. //
  5. // Email: kstowel@sprynet.com
  6. // URL:   www.geocities.com/SiliconValley/Haven/8230
  7. //
  8. // You are free to use, modify and distribute this source, as long as
  9. // it is not sold for profit, and this HEADER stays intact. This source is
  10. // supplied "AS-IS", and without WARRANTY OF ANY KIND. The user
  11. // agrees to hold the author(s) blameless from any or all problems that
  12. // may arise from the use or distribution of this code.
  13. //
  14. /////////////////////////////////////////////////////////////////////////////
  15.  
  16. #if !defined(DOCKBAREX_H_INCLUDED)
  17. #define DOCKBAREX_H_INCLUDED
  18.  
  19. #if _MSC_VER >= 1000
  20. #pragma once
  21. #endif // _MSC_VER >= 1000
  22.  
  23. #include <afxpriv.h>
  24.  
  25. // nDockBarMap
  26. const DWORD nDockBarMap[4][2] =
  27. {
  28.     { AFX_IDW_DOCKBAR_TOP,      CBRS_TOP    },
  29.     { AFX_IDW_DOCKBAR_BOTTOM,   CBRS_BOTTOM },
  30.     { AFX_IDW_DOCKBAR_LEFT,     CBRS_LEFT   },
  31.     { AFX_IDW_DOCKBAR_RIGHT,    CBRS_RIGHT  },
  32. };
  33.  
  34. /////////////////////////////////////////////////////////////////////////////
  35. // CDockBarEx class
  36.  
  37. class CDockBarEx : public CDockBar
  38. {
  39.     DECLARE_DYNAMIC(CDockBarEx)
  40.  
  41. // Construction
  42. public:
  43.     CDockBarEx();
  44.  
  45. // Attributes
  46. public:
  47.  
  48. // Operations
  49. public:
  50.  
  51. // Overrides
  52.     // ClassWizard generated virtual function overrides
  53.     //{{AFX_VIRTUAL(CDockBarEx)
  54.     public:
  55.     virtual CSize CalcFixedLayout(BOOL bStretch, BOOL bHorz);
  56.     //}}AFX_VIRTUAL
  57.  
  58. // Implementation
  59. public:
  60.     virtual ~CDockBarEx();
  61.  
  62. // Generated message map functions
  63. protected:
  64.     //{{AFX_MSG(CDockBarEx)
  65.         // NOTE - the ClassWizard will add and remove member functions here.
  66.         //    DO NOT EDIT what you see in these blocks of generated code !
  67.     //}}AFX_MSG
  68.     DECLARE_MESSAGE_MAP()
  69. };
  70.  
  71. /////////////////////////////////////////////////////////////////////////////
  72.  
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  75.  
  76. #endif // !defined(DOCKBAREX_H_INCLUDED)
  77.  
  78.