Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
963 B

  1. // docking.h : interface of the CDocking class
  2. //
  3. class CDocking : public CObject
  4. {
  5. DECLARE_DYNAMIC( CDocking )
  6. // Constructors
  7. public: /***********************************************************/
  8. CDocking();
  9. // Attributes
  10. BOOL Create( CPoint ptDrop, CRect& rectCurrent, BOOL bDocked, CPBView::DOCKERS tool );
  11. void Move ( CPoint ptNew );
  12. BOOL Move ( CPoint ptNew, CRect& rectFrame );
  13. BOOL Clear ( CRect* prectLast = NULL );
  14. protected: /***********************************************************/
  15. BOOL DrawFocusRect();
  16. int m_iDockingX;
  17. int m_iDockingY;
  18. BOOL m_bStarted;
  19. BOOL m_bDocked;
  20. BOOL m_bDocking;
  21. CRect m_rectDockingPort;
  22. CRect m_rectDocked;
  23. CRect m_rectFree;
  24. CPoint m_ptLast;
  25. CPoint m_ptDocking;
  26. CPBView::DOCKERS m_Tool;
  27. };
  28. /***************************************************************************/