OAMDOCKCONTEXT.H
上传用户:lvjun8202
上传日期:2013-04-30
资源大小:797k
文件大小:1k
- // OAMDockContext.h: interface for the COAMDockContext class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_OAMDOCKCONTEXT_H__112ECEE5_0C04_11D3_BAAE_12345600558E__INCLUDED_)
- #define AFX_OAMDOCKCONTEXT_H__112ECEE5_0C04_11D3_BAAE_12345600558E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class COAMSizeDockBar;
- class COAMControlBar;
- class COAMDockContext : public CDockContext
- {
- // Construction
- public:
- COAMDockContext(CControlBar* pBar);
- // Attributes
- public:
- protected:
- // Operations
- public:
- void EndDragDockBar();
- void MoveDockBar(CPoint pt);
- void StartDragDockBar(CPoint pt);
- DWORD CanDockDockBar();
- DWORD CanDockDockBar(CRect rect, DWORD dwDockStyle, CDockBar** ppDockBar = NULL);
- BOOL TrackDockBar();
- COAMSizeDockBar* GetDockBar(DWORD dwOverDockStyle);
- void DockSizeBar(CControlBar *,COAMSizeDockBar* =NULL,LPRECT =NULL);
- virtual void ToggleDocking();
- // Implementation
- public:
- virtual ~COAMDockContext();
- };
- #endif // !defined(AFX_OAMDOCKCONTEXT_H__112ECEE5_0C04_11D3_BAAE_12345600558E__INCLUDED_)