#include <RichViewCtrl.h>
Inheritance diagram for CRichViewCtrl:


Public Member Functions | |
| CRichViewCtrl () | |
| virtual | ~CRichViewCtrl () |
| void | SetSyncObject (CSyncObject *pSyncRoot) |
| void | SetSelectable (BOOL bSelectable) |
| void | SetFollowBottom (BOOL bFollowBottom) |
| void | SetDefaultLink (BOOL bDefaultLink) |
| void | SetDocument (CRichDocument *pDocument) |
| BOOL | IsModified () const |
| void | InvalidateIfModified () |
| int | FullHeightMove (int nX, int nY, int nWidth, BOOL bShow=FALSE) |
| BOOL | GetElementRect (CRichElement *pElement, RECT *prc) |
| virtual BOOL | Create (DWORD dwStyle, const RECT &rect, CWnd *pParentWnd, UINT nID) |
Protected Member Functions | |
| void | ClearFragments () |
| void | Layout (CDC *pDC, CRect *pRect) |
| void | WrapLineHelper (CList< CRichFragment * > &pLine, CPoint &pt, int &nLineHeight, int nWidth, int nAlign) |
| CRichFragment * | PointToFrag (CPoint &pt) |
| RICHPOSITION | PointToPosition (CPoint &pt) |
| CPoint | PositionToPoint (RICHPOSITION &pt) |
| void | UpdateSelection () |
| void | CopySelection () |
| virtual void | OnLayoutComplete () |
| virtual void | OnPaintBegin (CDC *) |
| virtual void | OnPaintComplete (CDC *) |
| virtual void | OnVScrolled () |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| afx_msg void | OnDestroy () |
| afx_msg BOOL | OnEraseBkgnd (CDC *pDC) |
| afx_msg void | OnPaint () |
| afx_msg void | OnSize (UINT nType, int cx, int cy) |
| afx_msg BOOL | OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message) |
| afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
| afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
| afx_msg void | OnVScroll (UINT nSBCode, UINT nPos, CScrollBar *pScrollBar) |
| afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnTimer (UINT_PTR nIDEvent) |
| afx_msg BOOL | OnMouseWheel (UINT nFlags, short zDelta, CPoint pt) |
Protected Attributes | |
| CSyncObject * | m_pSyncRoot |
| BOOL | m_bSelectable |
| BOOL | m_bFollowBottom |
| BOOL | m_bDefaultLink |
| CRichDocument * | m_pDocument |
| DWORD | m_nCookie |
| CArray< CRichFragment * > | m_pFragments |
| int | m_nLength |
| int | m_nScrollWheelLines |
| CRichElement * | m_pHover |
| BOOL | m_bSelecting |
| RICHPOSITION | m_pSelStart |
| RICHPOSITION | m_pSelEnd |
| RICHPOSITION | m_pSelAbsStart |
| RICHPOSITION | m_pSelAbsEnd |
| HCURSOR | m_hcHand |
| HCURSOR | m_hcText |
| CBrush | m_pBrush |
Friends | |
| class | CRichFragment |
| CRichViewCtrl::CRichViewCtrl | ( | ) |
| CRichViewCtrl::~CRichViewCtrl | ( | ) | [virtual] |
| void CRichViewCtrl::SetSyncObject | ( | CSyncObject * | pSyncRoot | ) |
| void CRichViewCtrl::SetSelectable | ( | BOOL | bSelectable | ) |
| void CRichViewCtrl::SetFollowBottom | ( | BOOL | bFollowBottom | ) |
| void CRichViewCtrl::SetDefaultLink | ( | BOOL | bDefaultLink | ) |
| void CRichViewCtrl::SetDocument | ( | CRichDocument * | pDocument | ) |
| BOOL CRichViewCtrl::IsModified | ( | ) | const |
| void CRichViewCtrl::InvalidateIfModified | ( | ) |
| int CRichViewCtrl::FullHeightMove | ( | int | nX, | |
| int | nY, | |||
| int | nWidth, | |||
| BOOL | bShow = FALSE | |||
| ) |
| BOOL CRichViewCtrl::GetElementRect | ( | CRichElement * | pElement, | |
| RECT * | prc | |||
| ) |
| void CRichViewCtrl::ClearFragments | ( | ) | [protected] |
| void CRichViewCtrl::Layout | ( | CDC * | pDC, | |
| CRect * | pRect | |||
| ) | [protected] |
| void CRichViewCtrl::WrapLineHelper | ( | CList< CRichFragment * > & | pLine, | |
| CPoint & | pt, | |||
| int & | nLineHeight, | |||
| int | nWidth, | |||
| int | nAlign | |||
| ) | [protected] |
| CRichFragment * CRichViewCtrl::PointToFrag | ( | CPoint & | pt | ) | [protected] |
| RICHPOSITION CRichViewCtrl::PointToPosition | ( | CPoint & | pt | ) | [protected] |
| CPoint CRichViewCtrl::PositionToPoint | ( | RICHPOSITION & | pt | ) | [protected] |
| void CRichViewCtrl::UpdateSelection | ( | ) | [protected] |
| void CRichViewCtrl::CopySelection | ( | ) | [protected] |
| virtual void CRichViewCtrl::OnLayoutComplete | ( | ) | [inline, protected, virtual] |
Reimplemented in CHomeViewCtrl.
| virtual void CRichViewCtrl::OnPaintBegin | ( | CDC * | ) | [inline, protected, virtual] |
Reimplemented in CHomeViewCtrl.
| virtual void CRichViewCtrl::OnPaintComplete | ( | CDC * | ) | [inline, protected, virtual] |
| virtual void CRichViewCtrl::OnVScrolled | ( | ) | [inline, protected, virtual] |
Reimplemented in CHomeViewCtrl.
| BOOL CRichViewCtrl::Create | ( | DWORD | dwStyle, | |
| const RECT & | rect, | |||
| CWnd * | pParentWnd, | |||
| UINT | nID | |||
| ) | [virtual] |
| int CRichViewCtrl::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Reimplemented in CHomeViewCtrl.
| void CRichViewCtrl::OnDestroy | ( | ) | [protected] |
| BOOL CRichViewCtrl::OnEraseBkgnd | ( | CDC * | pDC | ) | [protected] |
| void CRichViewCtrl::OnPaint | ( | ) | [protected] |
| void CRichViewCtrl::OnSize | ( | UINT | nType, | |
| int | cx, | |||
| int | cy | |||
| ) | [protected] |
| BOOL CRichViewCtrl::OnSetCursor | ( | CWnd * | pWnd, | |
| UINT | nHitTest, | |||
| UINT | message | |||
| ) | [protected] |
| void CRichViewCtrl::OnMouseMove | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
| void CRichViewCtrl::OnLButtonUp | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
| void CRichViewCtrl::OnVScroll | ( | UINT | nSBCode, | |
| UINT | nPos, | |||
| CScrollBar * | pScrollBar | |||
| ) | [protected] |
| void CRichViewCtrl::OnLButtonDown | ( | UINT | nFlags, | |
| CPoint | point | |||
| ) | [protected] |
| void CRichViewCtrl::OnTimer | ( | UINT_PTR | nIDEvent | ) | [protected] |
| BOOL CRichViewCtrl::OnMouseWheel | ( | UINT | nFlags, | |
| short | zDelta, | |||
| CPoint | pt | |||
| ) | [protected] |
friend class CRichFragment [friend] |
CSyncObject* CRichViewCtrl::m_pSyncRoot [protected] |
BOOL CRichViewCtrl::m_bSelectable [protected] |
BOOL CRichViewCtrl::m_bFollowBottom [protected] |
BOOL CRichViewCtrl::m_bDefaultLink [protected] |
CRichDocument* CRichViewCtrl::m_pDocument [protected] |
Reimplemented in CHomeViewCtrl.
DWORD CRichViewCtrl::m_nCookie [protected] |
CArray< CRichFragment* > CRichViewCtrl::m_pFragments [protected] |
int CRichViewCtrl::m_nLength [protected] |
int CRichViewCtrl::m_nScrollWheelLines [protected] |
CRichElement* CRichViewCtrl::m_pHover [protected] |
BOOL CRichViewCtrl::m_bSelecting [protected] |
RICHPOSITION CRichViewCtrl::m_pSelStart [protected] |
RICHPOSITION CRichViewCtrl::m_pSelEnd [protected] |
RICHPOSITION CRichViewCtrl::m_pSelAbsStart [protected] |
RICHPOSITION CRichViewCtrl::m_pSelAbsEnd [protected] |
HCURSOR CRichViewCtrl::m_hcHand [protected] |
HCURSOR CRichViewCtrl::m_hcText [protected] |
CBrush CRichViewCtrl::m_pBrush [protected] |
1.5.2