windows-nt/Source/XPSP1/NT/shell/osshell/accesory/mspaint/docking.h
2020-09-26 16:20:57 +08:00

39 lines
963 B
C++

// docking.h : interface of the CDocking class
//
class CDocking : public CObject
{
DECLARE_DYNAMIC( CDocking )
// Constructors
public: /***********************************************************/
CDocking();
// Attributes
BOOL Create( CPoint ptDrop, CRect& rectCurrent, BOOL bDocked, CPBView::DOCKERS tool );
void Move ( CPoint ptNew );
BOOL Move ( CPoint ptNew, CRect& rectFrame );
BOOL Clear ( CRect* prectLast = NULL );
protected: /***********************************************************/
BOOL DrawFocusRect();
int m_iDockingX;
int m_iDockingY;
BOOL m_bStarted;
BOOL m_bDocked;
BOOL m_bDocking;
CRect m_rectDockingPort;
CRect m_rectDocked;
CRect m_rectFree;
CPoint m_ptLast;
CPoint m_ptDocking;
CPBView::DOCKERS m_Tool;
};
/***************************************************************************/