description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: CMFCDragFrameImpl Class |
CMFCDragFrameImpl Class |
10/18/2018 |
|
|
500cd824-8188-43c2-8754-b7bb46b5648a |
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.
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 and AFX_GLOBAL_DATA::m_nDragFrameThicknessDock.
Header: afxdragframeimpl.h
void EndDrawDragFrame(BOOL bClearInternalRects = TRUE);
[in] bClearInternalRects
void Init(CWnd* pDraggedWnd);
[in] pDraggedWnd
void MoveDragFrame(BOOL bForceMove = FALSE);
[in] bForceMove
void PlaceTabPreDocking(
CBaseTabbedPane* pTabbedBar,
BOOL bFirstTime);
void PlaceTabPreDocking(CWnd* pCBarToPlaceOn);
[in] pTabbedBar
[in] bFirstTime
[in] pCBarToPlaceOn
void RemoveTabPreDocking(CDockablePane* pOldTargetBar = NULL);
[in] pOldTargetBar
void ResetState();