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.

class CMFCDragFrameImpl  

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).

CMFCDragFrameImpl

Header: afxdragframeimpl.h

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

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

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

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

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

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

Hierarchy Chart
Classes
CPane Class

Show: