crashrpt2
Public Member Functions | Static Public Member Functions | List of all members
WTL::CRichEditCtrlT< TBase > Class Template Reference
Inheritance diagram for WTL::CRichEditCtrlT< TBase >:

Public Member Functions

 CRichEditCtrlT (HWND hWnd=NULL)
 
CRichEditCtrlT< TBase > & operator= (HWND hWnd)
 
HWND Create (HWND hWndParent, ATL::_U_RECT rect=NULL, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, ATL::_U_MENUorID MenuOrID=0U, LPVOID lpCreateParam=NULL)
 
int GetLineCount () const
 
BOOL GetModify () const
 
void SetModify (BOOL bModified=TRUE)
 
void GetRect (LPRECT lpRect) const
 
DWORD GetOptions () const
 
DWORD SetOptions (WORD wOperation, DWORD dwOptions)
 
int GetLine (int nIndex, LPTSTR lpszBuffer) const
 
int GetLine (int nIndex, LPTSTR lpszBuffer, int nMaxLength) const
 
BOOL CanUndo () const
 
BOOL CanPaste (UINT nFormat=0) const
 
void GetSel (LONG &nStartChar, LONG &nEndChar) const
 
void GetSel (CHARRANGE &cr) const
 
int SetSel (LONG nStartChar, LONG nEndChar)
 
int SetSel (CHARRANGE &cr)
 
int SetSelAll ()
 
int SetSelNone ()
 
DWORD GetDefaultCharFormat (CHARFORMAT &cf) const
 
DWORD GetSelectionCharFormat (CHARFORMAT &cf) const
 
DWORD GetEventMask () const
 
LONG GetLimitText () const
 
DWORD GetParaFormat (PARAFORMAT &pf) const
 
LONG GetSelText (LPSTR lpstrBuff) const
 
BOOL GetSelTextBSTR (BSTR &bstrText) const
 
WORD GetSelectionType () const
 
COLORREF SetBackgroundColor (COLORREF cr)
 
COLORREF SetBackgroundColor ()
 
BOOL SetCharFormat (CHARFORMAT &cf, WORD wFlags)
 
BOOL SetDefaultCharFormat (CHARFORMAT &cf)
 
BOOL SetSelectionCharFormat (CHARFORMAT &cf)
 
BOOL SetWordCharFormat (CHARFORMAT &cf)
 
DWORD SetEventMask (DWORD dwEventMask)
 
BOOL SetParaFormat (PARAFORMAT &pf)
 
BOOL SetTargetDevice (HDC hDC, int cxLineWidth)
 
int GetTextLength () const
 
BOOL SetReadOnly (BOOL bReadOnly=TRUE)
 
int GetFirstVisibleLine () const
 
int GetTextRange (TEXTRANGE *pTextRange) const
 
EDITWORDBREAKPROCEX GetWordBreakProcEx () const
 
EDITWORDBREAKPROCEX SetWordBreakProcEx (EDITWORDBREAKPROCEX pfnEditWordBreakProcEx)
 
int GetTextRange (LONG nStartChar, LONG nEndChar, LPSTR lpstrText) const
 
void LimitText (LONG nChars=0)
 
int LineFromChar (LONG nIndex) const
 
POINT PosFromChar (LONG nChar) const
 
int CharFromPos (POINT pt) const
 
void EmptyUndoBuffer ()
 
int LineIndex (int nLine=-1) const
 
int LineLength (int nLine=-1) const
 
BOOL LineScroll (int nLines)
 
void ReplaceSel (LPCTSTR lpszNewText, BOOL bCanUndo=FALSE)
 
void SetRect (LPCRECT lpRect)
 
BOOL DisplayBand (LPRECT pDisplayRect)
 
LONG FindText (DWORD dwFlags, FINDTEXT &ft) const
 
LONG FindText (DWORD dwFlags, FINDTEXTEX &ft) const
 
LONG FormatRange (FORMATRANGE &fr, BOOL bDisplay=TRUE)
 
LONG FormatRange (FORMATRANGE *pFormatRange, BOOL bDisplay=TRUE)
 
void HideSelection (BOOL bHide=TRUE, BOOL bChangeStyle=FALSE)
 
void PasteSpecial (UINT uClipFormat, DWORD dwAspect=0, HMETAFILE hMF=0)
 
void RequestResize ()
 
LONG StreamIn (UINT uFormat, EDITSTREAM &es)
 
LONG StreamOut (UINT uFormat, EDITSTREAM &es)
 
DWORD FindWordBreak (int nCode, LONG nStartChar)
 
void ScrollCaret ()
 
int InsertText (long nInsertAfterChar, LPCTSTR lpstrText, BOOL bCanUndo=FALSE)
 
int AppendText (LPCTSTR lpstrText, BOOL bCanUndo=FALSE)
 
BOOL Undo ()
 
void Clear ()
 
void Copy ()
 
void Cut ()
 
void Paste ()
 
IRichEditOle * GetOleInterface () const
 
BOOL SetOleCallback (IRichEditOleCallback *pCallback)
 

Static Public Member Functions

static LPCTSTR GetWndClassName ()
 
static LPCTSTR GetLibraryName ()
 

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