Edit

Share via


CMFCDragFrameImpl Class

The CMFCDragFrameImpl class draws the drag rectangle that appears when the user drags a pane in the standard dock mode. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

Syntax

class CMFCDragFrameImpl

Remarks

An object of this class is embedded in each CPane Class object. Thus, each pane that uses the CanFloat method displays a drag rectangle when the user drags it.

You can control the thickness of the drag rectangle by using AFX_GLOBAL_DATA::m_nDragFrameThicknessFloat and AFX_GLOBAL_DATA::m_nDragFrameThicknessDock.

Inheritance Hierarchy

CMFCDragFrameImpl

Requirements

Header: afxdragframeimpl.h

CMFCDragFrameImpl::EndDrawDragFrame

void EndDrawDragFrame(BOOL bClearInternalRects = TRUE);

Parameters

[in] bClearInternalRects

Remarks

CMFCDragFrameImpl::Init

void Init(CWnd* pDraggedWnd);

Parameters

[in] pDraggedWnd

Remarks

CMFCDragFrameImpl::MoveDragFrame

void MoveDragFrame(BOOL bForceMove = FALSE);

Parameters

[in] bForceMove

Remarks

CMFCDragFrameImpl::PlaceTabPreDocking

void PlaceTabPreDocking(
    CBaseTabbedPane* pTabbedBar,
    BOOL bFirstTime);

void PlaceTabPreDocking(CWnd* pCBarToPlaceOn);

Parameters

[in] pTabbedBar

[in] bFirstTime

[in] pCBarToPlaceOn

Remarks

CMFCDragFrameImpl::RemoveTabPreDocking

void RemoveTabPreDocking(CDockablePane* pOldTargetBar = NULL);

Parameters

[in] pOldTargetBar

Remarks

CMFCDragFrameImpl::ResetState

void ResetState();

Remarks

See also

Hierarchy Chart
Classes
CPane Class