Share via


CMFCDragFrameImpl Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CMFCDragFrameImpl Class.

The CMFCDragFrameImpl class draws the drag rectangle that appears when the user drags a pane in the standard dock mode.

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]--brokenlink--(../Topic/AFX_GLOBAL_DATA%20Class.md#afx_global_data__m_ndragframethicknessfloat) and [AFX_GLOBAL_DATA::m_nDragFrameThicknessDock]--brokenlink--(../Topic/AFX_GLOBAL_DATA%20Class.md#afx_global_data__m_ndragframethicknessdock).

Inheritance Hierarchy

CMFCDragFrameImpl

Requirements

Header: afxdragframeimpl.h

CMFCDragFrameImpl::EndDrawDragFrame

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

void EndDrawDragFrame(BOOL bClearInternalRects = TRUE);

Parameters

[in] bClearInternalRects

Remarks

CMFCDragFrameImpl::Init

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

void Init(CWnd* pDraggedWnd);

Parameters

[in] pDraggedWnd

Remarks

CMFCDragFrameImpl::MoveDragFrame

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

void MoveDragFrame(BOOL bForceMove = FALSE);

Parameters

[in] bForceMove

Remarks

CMFCDragFrameImpl::PlaceTabPreDocking

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

void PlaceTabPreDocking(
    CBaseTabbedPane* pTabbedBar,  
    BOOL bFirstTime);  
  
void PlaceTabPreDocking(CWnd* pCBarToPlaceOn);

Parameters

[in] pTabbedBar
[in] bFirstTime
[in] pCBarToPlaceOn

Remarks

CMFCDragFrameImpl::RemoveTabPreDocking

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

void RemoveTabPreDocking(CDockablePane* pOldTargetBar = NULL);

Parameters

[in] pOldTargetBar

Remarks

CMFCDragFrameImpl::ResetState

This topic is included for completeness. For more detail see the source code located in the VC\atlmfc\src\mfc folder of your Visual Studio installation.

void ResetState();

Remarks

See Also

Hierarchy Chart
Classes
CPane Class