GME  13
Public Member Functions | Protected Member Functions | Protected Attributes
CSplitterBar Class Reference

#include <SplitterBar.h>

List of all members.

Public Member Functions

 CSplitterBar ()
BOOL Create (DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, BOOL bHorizontal=FALSE)
BOOL IsCursorOverSplitter (const CPoint &ptCursor)
void DrawDraggingBar (CPoint point, DRAGFLAG df=DRAGGING)
void SetPanes (CWnd *pwndLeftPane, CWnd *pwndRightPane)
void MovePanes ()
virtual ~CSplitterBar ()
 CSplitterBar ()
BOOL Create (DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID, BOOL bHorizontal=FALSE)
BOOL IsCursorOverSplitter (const CPoint &ptCursor)
void DrawDraggingBar (CPoint point, DRAGFLAG df=DRAGGING)
void SetPanes (CWnd *pwndLeftPane, CWnd *pwndRightPane)
void MovePanes ()
virtual ~CSplitterBar ()

Protected Member Functions

afx_msg void OnPaint ()
afx_msg LRESULT OnNcHitTest (CPoint point)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
void ChangeHelpControls (CRect)
afx_msg void OnPaint ()
afx_msg LRESULT OnNcHitTest (CPoint point)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)

Protected Attributes

CRect m_rectSplitter
CRect m_rectDragPrev
CRect m_rectDragCurt
BOOL m_bDragging
CWnd * m_pwndLeftPane
CWnd * m_pwndRightPane
int m_cxLeftMost
int m_cxRightMost
BOOL m_bHorizontal

Detailed Description

Definition at line 15 of file MgaUtil/SplitterBar.h.


Constructor & Destructor Documentation

Definition at line 31 of file MgaUtil/SplitterBar.cpp.

Definition at line 37 of file MgaUtil/SplitterBar.cpp.

virtual CSplitterBar::~CSplitterBar ( ) [virtual]

Member Function Documentation

void CSplitterBar::ChangeHelpControls ( CRect  ctrlRect) [protected]

Definition at line 389 of file ObjectInspector/SplitterBar.cpp.

BOOL CSplitterBar::Create ( DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
BOOL  bHorizontal = FALSE 
)

Definition at line 41 of file MgaUtil/SplitterBar.cpp.

BOOL CSplitterBar::Create ( DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
BOOL  bHorizontal = FALSE 
)
void CSplitterBar::DrawDraggingBar ( CPoint  point,
DRAGFLAG  df = DRAGGING 
)

Definition at line 201 of file MgaUtil/SplitterBar.cpp.

void CSplitterBar::DrawDraggingBar ( CPoint  point,
DRAGFLAG  df = DRAGGING 
)
BOOL CSplitterBar::IsCursorOverSplitter ( const CPoint &  ptCursor)

Definition at line 109 of file MgaUtil/SplitterBar.cpp.

BOOL CSplitterBar::IsCursorOverSplitter ( const CPoint &  ptCursor)

Definition at line 299 of file MgaUtil/SplitterBar.cpp.

int CSplitterBar::OnCreate ( LPCREATESTRUCT  lpCreateStruct) [protected]

Definition at line 72 of file MgaUtil/SplitterBar.cpp.

afx_msg int CSplitterBar::OnCreate ( LPCREATESTRUCT  lpCreateStruct) [protected]
void CSplitterBar::OnLButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 127 of file MgaUtil/SplitterBar.cpp.

afx_msg void CSplitterBar::OnLButtonDown ( UINT  nFlags,
CPoint  point 
) [protected]
void CSplitterBar::OnLButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 143 of file MgaUtil/SplitterBar.cpp.

afx_msg void CSplitterBar::OnLButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]
void CSplitterBar::OnMouseMove ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 116 of file MgaUtil/SplitterBar.cpp.

afx_msg void CSplitterBar::OnMouseMove ( UINT  nFlags,
CPoint  point 
) [protected]
LRESULT CSplitterBar::OnNcHitTest ( CPoint  point) [protected]

Definition at line 67 of file MgaUtil/SplitterBar.cpp.

afx_msg LRESULT CSplitterBar::OnNcHitTest ( CPoint  point) [protected]
void CSplitterBar::OnPaint ( ) [protected]

Definition at line 51 of file MgaUtil/SplitterBar.cpp.

afx_msg void CSplitterBar::OnPaint ( ) [protected]
BOOL CSplitterBar::OnSetCursor ( CWnd *  pWnd,
UINT  nHitTest,
UINT  message 
) [protected]

Definition at line 97 of file MgaUtil/SplitterBar.cpp.

afx_msg BOOL CSplitterBar::OnSetCursor ( CWnd *  pWnd,
UINT  nHitTest,
UINT  message 
) [protected]
void CSplitterBar::SetPanes ( CWnd *  pwndLeftPane,
CWnd *  pwndRightPane 
)

Definition at line 237 of file MgaUtil/SplitterBar.cpp.

void CSplitterBar::SetPanes ( CWnd *  pwndLeftPane,
CWnd *  pwndRightPane 
)

Member Data Documentation

Definition at line 24 of file MgaUtil/SplitterBar.h.

Definition at line 32 of file MgaUtil/SplitterBar.h.

Definition at line 29 of file MgaUtil/SplitterBar.h.

Definition at line 30 of file MgaUtil/SplitterBar.h.

CWnd * CSplitterBar::m_pwndLeftPane [protected]

Definition at line 26 of file MgaUtil/SplitterBar.h.

CWnd * CSplitterBar::m_pwndRightPane [protected]

Definition at line 27 of file MgaUtil/SplitterBar.h.

CRect CSplitterBar::m_rectDragCurt [protected]

Definition at line 23 of file MgaUtil/SplitterBar.h.

CRect CSplitterBar::m_rectDragPrev [protected]

Definition at line 22 of file MgaUtil/SplitterBar.h.

CRect CSplitterBar::m_rectSplitter [protected]

Definition at line 21 of file MgaUtil/SplitterBar.h.


The documentation for this class was generated from the following files: