OAMDOCKCONTEXT.H
上传用户:lvjun8202
上传日期:2013-04-30
资源大小:797k
文件大小:1k
源码类别:

SNMP编程

开发平台:

C/C++

  1. // OAMDockContext.h: interface for the COAMDockContext class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_OAMDOCKCONTEXT_H__112ECEE5_0C04_11D3_BAAE_12345600558E__INCLUDED_)
  5. #define AFX_OAMDOCKCONTEXT_H__112ECEE5_0C04_11D3_BAAE_12345600558E__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. class COAMSizeDockBar;
  10. class COAMControlBar;
  11. class COAMDockContext : public CDockContext
  12. {
  13. // Construction
  14. public:
  15. COAMDockContext(CControlBar* pBar);
  16. // Attributes
  17. public:
  18. protected:
  19. // Operations
  20. public:
  21. void EndDragDockBar();
  22. void MoveDockBar(CPoint pt);
  23. void StartDragDockBar(CPoint pt);
  24. DWORD CanDockDockBar();
  25. DWORD CanDockDockBar(CRect rect, DWORD dwDockStyle, CDockBar** ppDockBar = NULL);
  26. BOOL TrackDockBar();
  27. COAMSizeDockBar* GetDockBar(DWORD dwOverDockStyle);
  28. void DockSizeBar(CControlBar *,COAMSizeDockBar* =NULL,LPRECT =NULL);
  29. virtual void ToggleDocking();
  30. // Implementation
  31. public:
  32. virtual ~COAMDockContext();
  33. };
  34. #endif // !defined(AFX_OAMDOCKCONTEXT_H__112ECEE5_0C04_11D3_BAAE_12345600558E__INCLUDED_)