#include <SizingControlBar.h>
Inheritance diagram for CSizingControlBar:
Public Member Functions | |
CSizingControlBar () | |
virtual BOOL | Create (LPCTSTR lpszWindowName, CWnd *pParentWnd, CSize sizeDefault, BOOL bHasGripper, UINT nID, DWORD dwStyle=WS_CHILD|WS_VISIBLE|CBRS_TOP) |
virtual BOOL | Create (LPCTSTR lpszWindowName, CWnd *pParentWnd, UINT nID, DWORD dwStyle=WS_CHILD|WS_VISIBLE|CBRS_TOP) |
const BOOL | IsFloating () const |
const BOOL | IsHorzDocked () const |
const BOOL | IsVertDocked () const |
const BOOL | IsSideTracking () const |
const BOOL | GetSCBStyle () const |
void | EnableDocking (DWORD dwDockStyle) |
virtual void | LoadState (LPCTSTR lpszProfileName) |
virtual void | SaveState (LPCTSTR lpszProfileName) |
void | SetSCBStyle (DWORD dwSCBStyle) |
virtual void | OnUpdateCmdUI (CFrameWnd *pTarget, BOOL bDisableIfNoHndler) |
virtual CSize | CalcFixedLayout (BOOL bStretch, BOOL bHorz) |
virtual CSize | CalcDynamicLayout (int nLength, DWORD dwMode) |
virtual | ~CSizingControlBar () |
CSizingControlBar () | |
virtual BOOL | Create (LPCTSTR lpszWindowName, CWnd *pParentWnd, CSize sizeDefault, BOOL bHasGripper, UINT nID, DWORD dwStyle=WS_CHILD|WS_VISIBLE|CBRS_TOP) |
virtual BOOL | Create (LPCTSTR lpszWindowName, CWnd *pParentWnd, UINT nID, DWORD dwStyle=WS_CHILD|WS_VISIBLE|CBRS_TOP) |
const BOOL | IsFloating () const |
const BOOL | IsHorzDocked () const |
const BOOL | IsVertDocked () const |
const BOOL | IsSideTracking () const |
const BOOL | GetSCBStyle () const |
virtual void | LoadState () |
virtual void | SaveState () |
void | SetSCBStyle (DWORD dwSCBStyle) |
virtual void | OnUpdateCmdUI (CFrameWnd *pTarget, BOOL bDisableIfNoHndler) |
virtual CSize | CalcFixedLayout (BOOL bStretch, BOOL bHorz) |
virtual CSize | CalcDynamicLayout (int nLength, DWORD dwMode) |
virtual | ~CSizingControlBar () |
Static Public Member Functions | |
static void | GlobalLoadState (CFrameWnd *pFrame, LPCTSTR lpszProfileName) |
static void | GlobalSaveState (CFrameWnd *pFrame, LPCTSTR lpszProfileName) |
static void | GlobalLoadState (CFrameWnd *pFrame) |
static void | GlobalSaveState (CFrameWnd *pFrame) |
Protected Member Functions | |
UINT | GetEdgeHTCode (int nEdge) |
BOOL | GetEdgeRect (CRect rcWnd, UINT nHitTest, CRect &rcEdge) |
virtual void | StartTracking (UINT nHitTest, CPoint point) |
virtual void | StopTracking () |
virtual void | OnTrackUpdateSize (CPoint &point) |
virtual void | OnTrackInvertTracker () |
virtual void | NcPaintGripper (CDC *pDC, CRect rcClient) |
virtual void | NcCalcClient (LPRECT pRc, UINT nDockBarID) |
virtual void | AlignControlBars () |
void | GetRowInfo (int &nFirst, int &nLast, int &nThis) |
void | GetRowSizingBars (CSCBArray &arrSCBars) |
void | GetRowSizingBars (CSCBArray &arrSCBars, int &nThis) |
BOOL | NegotiateSpace (int nLengthTotal, BOOL bHorz) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnNcPaint () |
afx_msg void | OnNcCalcSize (BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR *lpncsp) |
afx_msg UINT | OnNcHitTest (CPoint point) |
afx_msg void | OnCaptureChanged (CWnd *pWnd) |
afx_msg void | OnSettingChange (UINT uFlags, LPCTSTR lpszSection) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnNcLButtonDown (UINT nHitTest, CPoint point) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnWindowPosChanging (WINDOWPOS FAR *lpwndpos) |
afx_msg void | OnPaint () |
afx_msg void | OnClose () |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg LRESULT | OnSetText (WPARAM wParam, LPARAM lParam) |
DECLARE_MESSAGE_MAP () | |
UINT | GetEdgeHTCode (int nEdge) |
BOOL | GetEdgeRect (CRect rcWnd, UINT nHitTest, CRect &rcEdge) |
virtual void | StartTracking (UINT nHitTest) |
virtual void | StopTracking () |
virtual void | OnTrackUpdateSize (CPoint &point) |
virtual void | OnTrackInvertTracker () |
virtual void | NcPaintGripper (CDC *pDC, CRect rcClient) |
virtual void | NcCalcClient (LPRECT pRc, UINT nDockBarID) |
virtual void | AlignControlBars () |
void | GetRowInfo (int &nFirst, int &nLast, int &nThis) |
void | GetRowSizingBars (CSCBArray &arrSCBars) |
BOOL | NegotiateSpace (int nLengthTotal, BOOL bHorz) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnNcPaint () |
afx_msg void | OnNcCalcSize (BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR *lpncsp) |
afx_msg UINT | OnNcHitTest (CPoint point) |
afx_msg void | OnCaptureChanged (CWnd *pWnd) |
afx_msg void | OnSettingChange (UINT uFlags, LPCTSTR lpszSection) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnNcLButtonDown (UINT nHitTest, CPoint point) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnWindowPosChanging (WINDOWPOS FAR *lpwndpos) |
afx_msg void | OnPaint () |
afx_msg void | OnClose () |
afx_msg void | OnSize (UINT nType, int cx, int cy) |
afx_msg LRESULT | OnSetText (WPARAM wParam, LPARAM lParam) |
Protected Attributes | |
DWORD | m_dwSCBStyle |
UINT | m_htEdge |
CSize | m_szHorz |
CSize | m_szVert |
CSize | m_szFloat |
CSize | m_szMinHorz |
CSize | m_szMinVert |
CSize | m_szMinFloat |
int | m_nTrackPosMin |
int | m_nTrackPosMax |
int | m_nTrackPosOld |
int | m_nTrackEdgeOfs |
BOOL | m_bTracking |
BOOL | m_bKeepSize |
BOOL | m_bParentSizing |
BOOL | m_bDragShowContent |
UINT | m_nDockBarID |
int | m_cxEdge |
CSize | m_szMinT |
CSize | m_szMaxT |
CSize | m_szOld |
CPoint | m_ptOld |
Private Member Functions | |
DECLARE_DYNAMIC (CSizingControlBar) | |
DECLARE_DYNAMIC (CSizingControlBar) | |
Friends | |
class | CSCBMiniDockFrameWnd |
Definition at line 65 of file SizingControlBar.h.
CSizingControlBar::CSizingControlBar | ( | ) |
Definition at line 64 of file SizingControlBar.cpp.
References FALSE, m_bDragShowContent, m_bKeepSize, m_bParentSizing, m_bTracking, m_cxEdge, m_dwSCBStyle, m_nDockBarID, m_szFloat, m_szHorz, m_szMinFloat, m_szMinHorz, m_szMinVert, and m_szVert.
CSizingControlBar::~CSizingControlBar | ( | ) | [virtual] |
Definition at line 81 of file SizingControlBar.cpp.
CSizingControlBar::CSizingControlBar | ( | ) |
virtual CSizingControlBar::~CSizingControlBar | ( | ) | [virtual] |
virtual void CSizingControlBar::AlignControlBars | ( | ) | [protected, virtual] |
void CSizingControlBar::AlignControlBars | ( | ) | [protected, virtual] |
Definition at line 1035 of file SizingControlBar.cpp.
References BOOL(), FALSE, GetRowInfo(), IsHorzDocked(), m_nDockBarID, and TRUE.
Referenced by CalcFixedLayout().
virtual CSize CSizingControlBar::CalcDynamicLayout | ( | int | nLength, | |
DWORD | dwMode | |||
) | [virtual] |
CSize CSizingControlBar::CalcDynamicLayout | ( | int | nLength, | |
DWORD | dwMode | |||
) | [virtual] |
Definition at line 276 of file SizingControlBar.cpp.
References IsFloating(), m_bParentSizing, m_szFloat, m_szMinFloat, max, min, and TRUE.
virtual CSize CSizingControlBar::CalcFixedLayout | ( | BOOL | bStretch, | |
BOOL | bHorz | |||
) | [virtual] |
CSize CSizingControlBar::CalcFixedLayout | ( | BOOL | bStretch, | |
BOOL | bHorz | |||
) | [virtual] |
Definition at line 229 of file SizingControlBar.cpp.
References AlignControlBars(), FALSE, GetRowSizingBars(), IsFloating(), m_bParentSizing, m_szHorz, m_szMinHorz, m_szMinVert, m_szVert, max, and NegotiateSpace().
virtual BOOL CSizingControlBar::Create | ( | LPCTSTR | lpszWindowName, | |
CWnd * | pParentWnd, | |||
UINT | nID, | |||
DWORD | dwStyle = WS_CHILD|WS_VISIBLE|CBRS_TOP | |||
) | [virtual] |
virtual BOOL CSizingControlBar::Create | ( | LPCTSTR | lpszWindowName, | |
CWnd * | pParentWnd, | |||
CSize | sizeDefault, | |||
BOOL | bHasGripper, | |||
UINT | nID, | |||
DWORD | dwStyle = WS_CHILD|WS_VISIBLE|CBRS_TOP | |||
) | [virtual] |
BOOL CSizingControlBar::Create | ( | LPCTSTR | lpszWindowName, | |
CWnd * | pParentWnd, | |||
UINT | nID, | |||
DWORD | dwStyle = WS_CHILD|WS_VISIBLE|CBRS_TOP | |||
) | [virtual] |
BOOL CSizingControlBar::Create | ( | LPCTSTR | lpszWindowName, | |
CWnd * | pParentWnd, | |||
CSize | sizeDefault, | |||
BOOL | bHasGripper, | |||
UINT | nID, | |||
DWORD | dwStyle = WS_CHILD|WS_VISIBLE|CBRS_TOP | |||
) | [virtual] |
CSizingControlBar::DECLARE_DYNAMIC | ( | CSizingControlBar | ) | [private] |
CSizingControlBar::DECLARE_DYNAMIC | ( | CSizingControlBar | ) | [private] |
CSizingControlBar::DECLARE_MESSAGE_MAP | ( | ) | [protected] |
Reimplemented in CDynamicBar, CSizingControlBarCF, and CSizingControlBarG.
void CSizingControlBar::EnableDocking | ( | DWORD | dwDockStyle | ) |
Definition at line 147 of file SizingControlBar.cpp.
References ASSERT.
Referenced by CFrame::OnCreate().
UINT CSizingControlBar::GetEdgeHTCode | ( | int | nEdge | ) | [protected] |
UINT CSizingControlBar::GetEdgeHTCode | ( | int | nEdge | ) | [protected] |
BOOL CSizingControlBar::GetEdgeRect | ( | CRect | rcWnd, | |
UINT | nHitTest, | |||
CRect & | rcEdge | |||
) | [protected] |
BOOL CSizingControlBar::GetEdgeRect | ( | CRect | rcWnd, | |
UINT | nHitTest, | |||
CRect & | rcEdge | |||
) | [protected] |
Definition at line 810 of file SizingControlBar.cpp.
References ASSERT, BOOL(), FALSE, IsHorzDocked(), m_cxEdge, m_dwSCBStyle, SCBS_EDGEBOTTOM, SCBS_EDGELEFT, SCBS_EDGERIGHT, SCBS_EDGETOP, SCBS_SHOWEDGES, and TRUE.
Referenced by OnNcHitTest(), OnNcPaint(), OnTrackInvertTracker(), and StartTracking().
void CSizingControlBar::GetRowInfo | ( | int & | nFirst, | |
int & | nLast, | |||
int & | nThis | |||
) | [protected] |
void CSizingControlBar::GetRowInfo | ( | int & | nFirst, | |
int & | nLast, | |||
int & | nThis | |||
) | [protected] |
Definition at line 856 of file SizingControlBar.cpp.
References ASSERT.
Referenced by AlignControlBars(), GetRowSizingBars(), and NegotiateSpace().
void CSizingControlBar::GetRowSizingBars | ( | CSCBArray & | arrSCBars | ) | [protected] |
void CSizingControlBar::GetRowSizingBars | ( | CSCBArray & | arrSCBars, | |
int & | nThis | |||
) | [protected] |
void CSizingControlBar::GetRowSizingBars | ( | CSCBArray & | arrSCBars | ) | [protected] |
Definition at line 876 of file SizingControlBar.cpp.
Referenced by CalcFixedLayout(), NegotiateSpace(), OnNcCalcSize(), OnTrackUpdateSize(), and StartTracking().
const BOOL CSizingControlBar::GetSCBStyle | ( | ) | const [inline] |
const BOOL CSizingControlBar::GetSCBStyle | ( | ) | const [inline] |
Definition at line 85 of file SizingControlBar.h.
References m_dwSCBStyle.
Referenced by CConsole::OnCreate().
void CSizingControlBar::GlobalLoadState | ( | CFrameWnd * | pFrame | ) | [static] |
void CSizingControlBar::GlobalLoadState | ( | CFrameWnd * | pFrame, | |
LPCTSTR | lpszProfileName | |||
) | [static] |
Definition at line 1134 of file SizingControlBar.cpp.
References ASSERT, and LoadState().
Referenced by CRobotControlConfigurationManager::loadConfiguration(), and CFrame::RestoreLayout().
void CSizingControlBar::GlobalSaveState | ( | CFrameWnd * | pFrame | ) | [static] |
void CSizingControlBar::GlobalSaveState | ( | CFrameWnd * | pFrame, | |
LPCTSTR | lpszProfileName | |||
) | [static] |
Definition at line 1148 of file SizingControlBar.cpp.
References ASSERT, and SaveState().
Referenced by CRobotControlConfigurationManager::saveConfiguration(), and CFrame::WriteLayout().
const BOOL CSizingControlBar::IsFloating | ( | ) | const |
const BOOL CSizingControlBar::IsFloating | ( | ) | const |
Definition at line 203 of file SizingControlBar.cpp.
References IsHorzDocked(), and IsVertDocked().
Referenced by CalcDynamicLayout(), CalcFixedLayout(), CSizingControlBarG::HasGripper(), IsSideTracking(), OnNcCalcSize(), OnNcHitTest(), OnNcLButtonDown(), OnSetText(), OnTrackUpdateSize(), and OnWindowPosChanging().
const BOOL CSizingControlBar::IsHorzDocked | ( | ) | const |
const BOOL CSizingControlBar::IsHorzDocked | ( | ) | const |
Definition at line 208 of file SizingControlBar.cpp.
References m_nDockBarID.
Referenced by AlignControlBars(), GetEdgeRect(), IsFloating(), IsSideTracking(), CSizingControlBarG::NcPaintGripper(), CSizingControlBarCF::NcPaintGripper(), NegotiateSpace(), OnNcCalcSize(), OnTrackInvertTracker(), OnTrackUpdateSize(), and StartTracking().
const BOOL CSizingControlBar::IsSideTracking | ( | ) | const |
const BOOL CSizingControlBar::IsSideTracking | ( | ) | const |
Definition at line 220 of file SizingControlBar.cpp.
References ASSERT, IsFloating(), IsHorzDocked(), IsVertDocked(), m_bTracking, and m_htEdge.
Referenced by OnTrackInvertTracker(), OnTrackUpdateSize(), and StartTracking().
const BOOL CSizingControlBar::IsVertDocked | ( | ) | const |
const BOOL CSizingControlBar::IsVertDocked | ( | ) | const |
Definition at line 214 of file SizingControlBar.cpp.
References m_nDockBarID.
Referenced by IsFloating(), and IsSideTracking().
void CSizingControlBar::LoadState | ( | ) | [virtual] |
Definition at line 1054 of file sizecbar.cpp.
References ASSERT, m_szFloat, m_szHorz, m_szMinFloat, m_szMinHorz, m_szMinVert, m_szVert, and max.
void CSizingControlBar::LoadState | ( | LPCTSTR | lpszProfileName | ) | [virtual] |
Definition at line 1086 of file SizingControlBar.cpp.
References ASSERT, int(), m_szFloat, m_szHorz, and m_szVert.
Referenced by GlobalLoadState().
virtual void CSizingControlBar::NcCalcClient | ( | LPRECT | pRc, | |
UINT | nDockBarID | |||
) | [protected, virtual] |
Reimplemented in CSizingControlBarG, and CSizingControlBarG.
void CSizingControlBar::NcCalcClient | ( | LPRECT | pRc, | |
UINT | nDockBarID | |||
) | [protected, virtual] |
Reimplemented in CSizingControlBarG, and CSizingControlBarG.
Definition at line 464 of file SizingControlBar.cpp.
References m_cxEdge, m_dwSCBStyle, SCBS_EDGEBOTTOM, SCBS_EDGELEFT, SCBS_EDGERIGHT, SCBS_EDGETOP, and SCBS_SHOWEDGES.
Referenced by CSizingControlBarG::NcCalcClient(), and OnNcCalcSize().
virtual void CSizingControlBar::NcPaintGripper | ( | CDC * | pDC, | |
CRect | rcClient | |||
) | [protected, virtual] |
Reimplemented in CSizingControlBarCF, CSizingControlBarG, and CSizingControlBarG.
void CSizingControlBar::NcPaintGripper | ( | CDC * | pDC, | |
CRect | rcClient | |||
) | [protected, virtual] |
Reimplemented in CSizingControlBarCF, CSizingControlBarG, and CSizingControlBarG.
Definition at line 550 of file SizingControlBar.cpp.
Referenced by OnNcPaint().
BOOL CSizingControlBar::NegotiateSpace | ( | int | nLengthTotal, | |
BOOL | bHorz | |||
) | [protected] |
BOOL CSizingControlBar::NegotiateSpace | ( | int | nLengthTotal, | |
BOOL | bHorz | |||
) | [protected] |
Definition at line 906 of file SizingControlBar.cpp.
References ASSERT, BOOL(), FALSE, GetRowInfo(), GetRowSizingBars(), IsHorzDocked(), m_bKeepSize, m_szHorz, m_szMinHorz, m_szMinVert, m_szVert, max, and TRUE.
Referenced by CalcFixedLayout().
afx_msg void CSizingControlBar::OnCaptureChanged | ( | CWnd * | pWnd | ) | [protected] |
void CSizingControlBar::OnCaptureChanged | ( | CWnd * | pWnd | ) | [protected] |
afx_msg void CSizingControlBar::OnClose | ( | ) | [protected] |
void CSizingControlBar::OnClose | ( | ) | [protected] |
Definition at line 601 of file SizingControlBar.cpp.
afx_msg int CSizingControlBar::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Reimplemented in CDynamicBar, and CConsole.
int CSizingControlBar::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Reimplemented in CDynamicBar, and CConsole.
Definition at line 169 of file SizingControlBar.cpp.
References FALSE, and m_bDragShowContent.
Referenced by CConsole::OnCreate(), and CDynamicBar::OnCreate().
afx_msg void CSizingControlBar::OnLButtonDblClk | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
void CSizingControlBar::OnLButtonDblClk | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
afx_msg void CSizingControlBar::OnLButtonDown | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
void CSizingControlBar::OnLButtonDown | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
afx_msg void CSizingControlBar::OnLButtonUp | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
void CSizingControlBar::OnLButtonUp | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
afx_msg void CSizingControlBar::OnMouseMove | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
void CSizingControlBar::OnMouseMove | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
Definition at line 401 of file SizingControlBar.cpp.
References m_bTracking, and OnTrackUpdateSize().
afx_msg void CSizingControlBar::OnNcCalcSize | ( | BOOL | bCalcValidRects, | |
NCCALCSIZE_PARAMS FAR * | lpncsp | |||
) | [protected] |
void CSizingControlBar::OnNcCalcSize | ( | BOOL | bCalcValidRects, | |
NCCALCSIZE_PARAMS FAR * | lpncsp | |||
) | [protected] |
Definition at line 422 of file SizingControlBar.cpp.
References BOOL(), GetRowSizingBars(), IsFloating(), IsHorzDocked(), m_dwSCBStyle, m_nDockBarID, NcCalcClient(), SCBS_EDGEALL, SCBS_EDGEBOTTOM, SCBS_EDGELEFT, SCBS_EDGERIGHT, and SCBS_EDGETOP.
afx_msg UINT CSizingControlBar::OnNcHitTest | ( | CPoint | point | ) | [protected] |
Reimplemented in CSizingControlBarG, and CSizingControlBarG.
UINT CSizingControlBar::OnNcHitTest | ( | CPoint | point | ) | [protected] |
Reimplemented in CSizingControlBarG, and CSizingControlBarG.
Definition at line 562 of file SizingControlBar.cpp.
References GetEdgeHTCode(), GetEdgeRect(), and IsFloating().
Referenced by CSizingControlBarG::OnNcHitTest().
afx_msg void CSizingControlBar::OnNcLButtonDown | ( | UINT | nHitTest, | |
CPoint | point | |||
) | [protected] |
void CSizingControlBar::OnNcLButtonDown | ( | UINT | nHitTest, | |
CPoint | point | |||
) | [protected] |
Definition at line 374 of file SizingControlBar.cpp.
References IsFloating(), m_bTracking, and StartTracking().
afx_msg void CSizingControlBar::OnNcPaint | ( | ) | [protected] |
void CSizingControlBar::OnNcPaint | ( | ) | [protected] |
Definition at line 499 of file SizingControlBar.cpp.
References GetEdgeHTCode(), GetEdgeRect(), m_dwSCBStyle, NcPaintGripper(), and SCBS_SHOWEDGES.
afx_msg void CSizingControlBar::OnPaint | ( | ) | [protected] |
void CSizingControlBar::OnPaint | ( | ) | [protected] |
Definition at line 556 of file SizingControlBar.cpp.
afx_msg void CSizingControlBar::OnRButtonDown | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
void CSizingControlBar::OnRButtonDown | ( | UINT | nFlags, | |
CPoint | point | |||
) | [protected] |
afx_msg LRESULT CSizingControlBar::OnSetText | ( | WPARAM | wParam, | |
LPARAM | lParam | |||
) | [protected] |
Reimplemented in CSizingControlBarCF.
LRESULT CSizingControlBar::OnSetText | ( | WPARAM | wParam, | |
LPARAM | lParam | |||
) | [protected] |
Reimplemented in CSizingControlBarCF.
Definition at line 187 of file SizingControlBar.cpp.
References IsFloating().
Referenced by CSizingControlBarCF::OnSetText().
afx_msg void CSizingControlBar::OnSettingChange | ( | UINT | uFlags, | |
LPCTSTR | lpszSection | |||
) | [protected] |
void CSizingControlBar::OnSettingChange | ( | UINT | uFlags, | |
LPCTSTR | lpszSection | |||
) | [protected] |
afx_msg void CSizingControlBar::OnSize | ( | UINT | nType, | |
int | cx, | |||
int | cy | |||
) | [protected] |
void CSizingControlBar::OnSize | ( | UINT | nType, | |
int | cx, | |||
int | cy | |||
) | [protected] |
Definition at line 585 of file SizingControlBar.cpp.
References ASSERT, m_dwSCBStyle, and SCBS_SIZECHILD.
virtual void CSizingControlBar::OnTrackInvertTracker | ( | ) | [protected, virtual] |
void CSizingControlBar::OnTrackInvertTracker | ( | ) | [protected, virtual] |
Definition at line 775 of file SizingControlBar.cpp.
References ASSERT, BOOL(), GetEdgeRect(), IsHorzDocked(), IsSideTracking(), m_bDragShowContent, m_bTracking, m_htEdge, m_nTrackEdgeOfs, m_nTrackPosOld, and VERIFY.
Referenced by OnTrackUpdateSize(), StartTracking(), and StopTracking().
virtual void CSizingControlBar::OnTrackUpdateSize | ( | CPoint & | point | ) | [protected, virtual] |
void CSizingControlBar::OnTrackUpdateSize | ( | CPoint & | point | ) | [protected, virtual] |
Definition at line 695 of file SizingControlBar.cpp.
References abs(), ASSERT, BOOL(), GetRowSizingBars(), int(), IsFloating(), IsHorzDocked(), IsSideTracking(), m_bDragShowContent, m_htEdge, m_nTrackPosMax, m_nTrackPosMin, m_nTrackPosOld, m_szHorz, m_szMinHorz, m_szMinVert, m_szVert, max, min, and OnTrackInvertTracker().
Referenced by OnMouseMove().
virtual void CSizingControlBar::OnUpdateCmdUI | ( | CFrameWnd * | pTarget, | |
BOOL | bDisableIfNoHndler | |||
) | [virtual] |
Reimplemented in CDynamicBar, CSizingControlBarCF, CSizingControlBarG, and CSizingControlBarG.
void CSizingControlBar::OnUpdateCmdUI | ( | CFrameWnd * | pTarget, | |
BOOL | bDisableIfNoHndler | |||
) | [virtual] |
Reimplemented in CDynamicBar, CSizingControlBarCF, CSizingControlBarG, and CSizingControlBarG.
Definition at line 1079 of file SizingControlBar.cpp.
afx_msg void CSizingControlBar::OnWindowPosChanging | ( | WINDOWPOS FAR * | lpwndpos | ) | [protected] |
void CSizingControlBar::OnWindowPosChanging | ( | WINDOWPOS FAR * | lpwndpos | ) | [protected] |
Definition at line 331 of file SizingControlBar.cpp.
References IsFloating(), m_bKeepSize, m_nDockBarID, and TRUE.
void CSizingControlBar::SaveState | ( | ) | [virtual] |
void CSizingControlBar::SaveState | ( | LPCTSTR | lpszProfileName | ) | [virtual] |
Definition at line 1111 of file SizingControlBar.cpp.
References ASSERT, m_szFloat, m_szHorz, and m_szVert.
Referenced by GlobalSaveState().
void CSizingControlBar::SetSCBStyle | ( | DWORD | dwSCBStyle | ) | [inline] |
void CSizingControlBar::SetSCBStyle | ( | DWORD | dwSCBStyle | ) | [inline] |
Definition at line 94 of file SizingControlBar.h.
References m_dwSCBStyle, and SCBS_EDGEALL.
Referenced by CConsole::OnCreate().
void CSizingControlBar::StartTracking | ( | UINT | nHitTest | ) | [protected, virtual] |
Definition at line 624 of file sizecbar.cpp.
References BOOL(), GetEdgeRect(), GetRowSizingBars(), IsHorzDocked(), IsSideTracking(), m_bDragShowContent, m_bTracking, m_htEdge, m_ptOld, m_szHorz, m_szMaxT, m_szMinHorz, m_szMinT, m_szMinVert, m_szOld, m_szVert, max, OnTrackInvertTracker(), TRUE, and VERIFY.
void CSizingControlBar::StartTracking | ( | UINT | nHitTest, | |
CPoint | point | |||
) | [protected, virtual] |
Definition at line 610 of file SizingControlBar.cpp.
References BOOL(), GetEdgeRect(), GetRowSizingBars(), IsHorzDocked(), IsSideTracking(), m_bDragShowContent, m_bTracking, m_htEdge, m_nTrackEdgeOfs, m_nTrackPosMax, m_nTrackPosMin, m_nTrackPosOld, m_szHorz, m_szMinHorz, m_szMinVert, m_szVert, max, OnTrackInvertTracker(), and TRUE.
Referenced by OnNcLButtonDown().
virtual void CSizingControlBar::StopTracking | ( | ) | [protected, virtual] |
void CSizingControlBar::StopTracking | ( | ) | [protected, virtual] |
Definition at line 685 of file SizingControlBar.cpp.
References FALSE, m_bTracking, and OnTrackInvertTracker().
Referenced by OnCaptureChanged(), OnLButtonUp(), and OnRButtonDown().
friend class CSCBMiniDockFrameWnd [friend] |
Definition at line 175 of file SizingControlBar.h.
BOOL CSizingControlBar::m_bDragShowContent [protected] |
Definition at line 147 of file SizingControlBar.h.
Referenced by CSizingControlBar(), OnCreate(), OnSettingChange(), OnTrackInvertTracker(), OnTrackUpdateSize(), and StartTracking().
BOOL CSizingControlBar::m_bKeepSize [protected] |
Definition at line 145 of file SizingControlBar.h.
Referenced by CSizingControlBar(), NegotiateSpace(), and OnWindowPosChanging().
BOOL CSizingControlBar::m_bParentSizing [protected] |
Definition at line 146 of file SizingControlBar.h.
Referenced by CalcDynamicLayout(), CalcFixedLayout(), and CSizingControlBar().
BOOL CSizingControlBar::m_bTracking [protected] |
Definition at line 144 of file SizingControlBar.h.
Referenced by CSizingControlBar(), IsSideTracking(), OnCaptureChanged(), OnLButtonUp(), OnMouseMove(), OnNcLButtonDown(), OnRButtonDown(), OnTrackInvertTracker(), StartTracking(), and StopTracking().
int CSizingControlBar::m_cxEdge [protected] |
Definition at line 149 of file SizingControlBar.h.
Referenced by CSizingControlBar(), GetEdgeRect(), and NcCalcClient().
DWORD CSizingControlBar::m_dwSCBStyle [protected] |
Definition at line 131 of file SizingControlBar.h.
Referenced by CSizingControlBar(), GetEdgeRect(), GetSCBStyle(), NcCalcClient(), OnNcCalcSize(), OnNcPaint(), OnSize(), and SetSCBStyle().
UINT CSizingControlBar::m_htEdge [protected] |
Definition at line 132 of file SizingControlBar.h.
Referenced by IsSideTracking(), OnTrackInvertTracker(), OnTrackUpdateSize(), and StartTracking().
UINT CSizingControlBar::m_nDockBarID [protected] |
Definition at line 148 of file SizingControlBar.h.
Referenced by AlignControlBars(), CSizingControlBar(), IsHorzDocked(), IsVertDocked(), OnNcCalcSize(), and OnWindowPosChanging().
int CSizingControlBar::m_nTrackEdgeOfs [protected] |
Definition at line 143 of file SizingControlBar.h.
Referenced by OnTrackInvertTracker(), and StartTracking().
int CSizingControlBar::m_nTrackPosMax [protected] |
Definition at line 141 of file SizingControlBar.h.
Referenced by OnTrackUpdateSize(), and StartTracking().
int CSizingControlBar::m_nTrackPosMin [protected] |
Definition at line 140 of file SizingControlBar.h.
Referenced by OnTrackUpdateSize(), and StartTracking().
int CSizingControlBar::m_nTrackPosOld [protected] |
Definition at line 142 of file SizingControlBar.h.
Referenced by OnTrackInvertTracker(), OnTrackUpdateSize(), and StartTracking().
CPoint CSizingControlBar::m_ptOld [protected] |
CSize CSizingControlBar::m_szFloat [protected] |
Definition at line 136 of file SizingControlBar.h.
Referenced by CalcDynamicLayout(), CSizingControlBar(), LoadState(), CSCBMiniDockFrameWnd::OnSize(), and SaveState().
CSize CSizingControlBar::m_szHorz [protected] |
Definition at line 134 of file SizingControlBar.h.
Referenced by CalcFixedLayout(), CSizingControlBar(), LoadState(), NegotiateSpace(), OnTrackUpdateSize(), SaveState(), and StartTracking().
CSize CSizingControlBar::m_szMaxT [protected] |
CSize CSizingControlBar::m_szMinFloat [protected] |
Definition at line 139 of file SizingControlBar.h.
Referenced by CalcDynamicLayout(), CSizingControlBar(), LoadState(), and CSCBMiniDockFrameWnd::OnGetMinMaxInfo().
CSize CSizingControlBar::m_szMinHorz [protected] |
Definition at line 137 of file SizingControlBar.h.
Referenced by CalcFixedLayout(), CSizingControlBar(), LoadState(), NegotiateSpace(), OnTrackUpdateSize(), and StartTracking().
CSize CSizingControlBar::m_szMinT [protected] |
CSize CSizingControlBar::m_szMinVert [protected] |
Definition at line 138 of file SizingControlBar.h.
Referenced by CalcFixedLayout(), CSizingControlBar(), LoadState(), NegotiateSpace(), OnTrackUpdateSize(), and StartTracking().
CSize CSizingControlBar::m_szOld [protected] |
CSize CSizingControlBar::m_szVert [protected] |
Definition at line 135 of file SizingControlBar.h.
Referenced by CalcFixedLayout(), CSizingControlBar(), LoadState(), NegotiateSpace(), OnTrackUpdateSize(), SaveState(), and StartTracking().