|
LPCTSTR | GetClass () const |
|
LPVOID | GetInterface (LPCTSTR pstrName) |
|
UINT | GetControlFlags () const |
|
bool | IsWantTab () |
|
void | SetWantTab (bool bWantTab=true) |
|
bool | IsWantReturn () |
|
void | SetWantReturn (bool bWantReturn=true) |
|
bool | IsWantCtrlReturn () |
|
void | SetWantCtrlReturn (bool bWantCtrlReturn=true) |
|
bool | IsTransparent () |
|
void | SetTransparent (bool bTransparent=true) |
|
bool | IsRich () |
|
void | SetRich (bool bRich=true) |
|
bool | IsReadOnly () |
|
void | SetReadOnly (bool bReadOnly=true) |
|
bool | IsWordWrap () |
|
void | SetWordWrap (bool bWordWrap=true) |
|
int | GetFont () |
|
void | SetFont (int index) |
|
void | SetFont (LPCTSTR pStrFontName, int nSize, bool bBold, bool bUnderline, bool bItalic) |
|
LONG | GetWinStyle () |
|
void | SetWinStyle (LONG lStyle) |
|
DWORD | GetTextColor () |
|
void | SetTextColor (DWORD dwTextColor) |
|
int | GetLimitText () |
|
void | SetLimitText (int iChars) |
|
long | GetTextLength (DWORD dwFlags=GTL_DEFAULT) const |
|
CDuiString | GetText () const |
|
void | SetText (LPCTSTR pstrText) |
|
bool | IsModify () const |
|
void | SetModify (bool bModified=true) const |
|
void | GetSel (CHARRANGE &cr) const |
|
void | GetSel (long &nStartChar, long &nEndChar) const |
|
int | SetSel (CHARRANGE &cr) |
|
int | SetSel (long nStartChar, long nEndChar) |
|
void | ReplaceSel (LPCTSTR lpszNewText, bool bCanUndo) |
|
void | ReplaceSelW (LPCWSTR lpszNewText, bool bCanUndo=false) |
|
CDuiString | GetSelText () const |
|
int | SetSelAll () |
|
int | SetSelNone () |
|
WORD | GetSelectionType () const |
|
bool | GetZoom (int &nNum, int &nDen) const |
|
bool | SetZoom (int nNum, int nDen) |
|
bool | SetZoomOff () |
|
bool | GetAutoURLDetect () const |
|
bool | SetAutoURLDetect (bool bAutoDetect=true) |
|
DWORD | GetEventMask () const |
|
DWORD | SetEventMask (DWORD dwEventMask) |
|
CDuiString | GetTextRange (long nStartChar, long nEndChar) const |
|
void | HideSelection (bool bHide=true, bool bChangeStyle=false) |
|
void | ScrollCaret () |
|
int | InsertText (long nInsertAfterChar, LPCTSTR lpstrText, bool bCanUndo=false) |
|
int | AppendText (LPCTSTR lpstrText, bool bCanUndo=false) |
|
DWORD | GetDefaultCharFormat (CHARFORMAT2 &cf) const |
|
bool | SetDefaultCharFormat (CHARFORMAT2 &cf) |
|
DWORD | GetSelectionCharFormat (CHARFORMAT2 &cf) const |
|
bool | SetSelectionCharFormat (CHARFORMAT2 &cf) |
|
bool | SetWordCharFormat (CHARFORMAT2 &cf) |
|
DWORD | GetParaFormat (PARAFORMAT2 &pf) const |
|
bool | SetParaFormat (PARAFORMAT2 &pf) |
|
bool | Redo () |
|
bool | Undo () |
|
void | Clear () |
|
void | Copy () |
|
void | Cut () |
|
void | Paste () |
|
int | GetLineCount () const |
|
CDuiString | GetLine (int nIndex, int nMaxLength) const |
|
int | LineIndex (int nLine=-1) const |
|
int | LineLength (int nLine=-1) const |
|
bool | LineScroll (int nLines, int nChars=0) |
|
CDuiPoint | GetCharPos (long lChar) const |
|
long | LineFromChar (long nIndex) const |
|
CDuiPoint | PosFromChar (UINT nChar) const |
|
int | CharFromPos (CDuiPoint pt) const |
|
void | EmptyUndoBuffer () |
|
UINT | SetUndoLimit (UINT nLimit) |
|
long | StreamIn (int nFormat, EDITSTREAM &es) |
|
long | StreamOut (int nFormat, EDITSTREAM &es) |
|
RECT | GetTextPadding () const |
|
void | SetTextPadding (RECT rc) |
|
void | DoInit () |
|
bool | SetDropAcceptFile (bool bAccept) |
|
virtual HRESULT | TxSendMessage (UINT msg, WPARAM wparam, LPARAM lparam, LRESULT *plresult) const |
|
IDropTarget * | GetTxDropTarget () |
|
virtual bool | OnTxViewChanged () |
|
virtual void | OnTxNotify (DWORD iNotify, void *pv) |
|
void | SetScrollPos (SIZE szPos) |
|
void | LineUp () |
|
void | LineDown () |
|
void | PageUp () |
|
void | PageDown () |
|
void | HomeUp () |
|
void | EndDown () |
|
void | LineLeft () |
|
void | LineRight () |
|
void | PageLeft () |
|
void | PageRight () |
|
void | HomeLeft () |
|
void | EndRight () |
|
SIZE | EstimateSize (SIZE szAvailable) |
|
void | SetPos (RECT rc, bool bNeedInvalidate=true) |
|
void | Move (SIZE szOffset, bool bNeedInvalidate=true) |
|
void | DoEvent (TEventUI &event) |
|
bool | DoPaint (HDC hDC, const RECT &rcPaint, CControlUI *pStopControl) |
|
void | SetAttribute (LPCTSTR pstrName, LPCTSTR pstrValue) |
|
LRESULT | MessageHandler (UINT uMsg, WPARAM wParam, LPARAM lParam, bool &bHandled) |
|
LPCTSTR | GetClass () const |
|
LPVOID | GetInterface (LPCTSTR pstrName) |
|
CControlUI * | GetItemAt (int iIndex) const |
|
int | GetItemIndex (CControlUI *pControl) const |
|
bool | SetItemIndex (CControlUI *pControl, int iNewIndex) |
|
bool | SetMultiItemIndex (CControlUI *pStartControl, int iCount, int iNewStartIndex) |
|
int | GetCount () const |
|
bool | Add (CControlUI *pControl) |
|
bool | AddAt (CControlUI *pControl, int iIndex) |
|
bool | Remove (CControlUI *pControl, bool bDoNotDestroy=false) |
|
bool | RemoveAt (int iIndex, bool bDoNotDestroy=false) |
|
void | RemoveAll () |
|
void | DoEvent (TEventUI &event) |
|
void | SetVisible (bool bVisible=true) |
|
void | SetInternVisible (bool bVisible=true) |
|
void | SetMouseEnabled (bool bEnable=true) |
|
virtual RECT | GetInset () const |
|
virtual void | SetInset (RECT rcInset) |
|
virtual int | GetChildPadding () const |
|
virtual void | SetChildPadding (int iPadding) |
|
virtual UINT | GetChildAlign () const |
|
virtual void | SetChildAlign (UINT iAlign) |
|
virtual UINT | GetChildVAlign () const |
|
virtual void | SetChildVAlign (UINT iVAlign) |
|
virtual bool | IsAutoDestroy () const |
|
virtual void | SetAutoDestroy (bool bAuto) |
|
virtual bool | IsDelayedDestroy () const |
|
virtual void | SetDelayedDestroy (bool bDelayed) |
|
virtual bool | IsMouseChildEnabled () const |
|
virtual void | SetMouseChildEnabled (bool bEnable=true) |
|
virtual int | FindSelectable (int iIndex, bool bForward=true) const |
|
RECT | GetClientPos () const |
|
void | SetPos (RECT rc, bool bNeedInvalidate=true) |
|
void | Move (SIZE szOffset, bool bNeedInvalidate=true) |
|
bool | DoPaint (HDC hDC, const RECT &rcPaint, CControlUI *pStopControl) |
|
void | SetAttribute (LPCTSTR pstrName, LPCTSTR pstrValue) |
|
void | SetManager (CPaintManagerUI *pManager, CControlUI *pParent, bool bInit=true) |
|
CControlUI * | FindControl (FINDCONTROLPROC Proc, LPVOID pData, UINT uFlags) |
|
bool | SetSubControlText (LPCTSTR pstrSubControlName, LPCTSTR pstrText) |
|
bool | SetSubControlFixedHeight (LPCTSTR pstrSubControlName, int cy) |
|
bool | SetSubControlFixedWdith (LPCTSTR pstrSubControlName, int cx) |
|
bool | SetSubControlUserData (LPCTSTR pstrSubControlName, LPCTSTR pstrText) |
|
CDuiString | GetSubControlText (LPCTSTR pstrSubControlName) |
|
int | GetSubControlFixedHeight (LPCTSTR pstrSubControlName) |
|
int | GetSubControlFixedWdith (LPCTSTR pstrSubControlName) |
|
const CDuiString | GetSubControlUserData (LPCTSTR pstrSubControlName) |
|
CControlUI * | FindSubControl (LPCTSTR pstrSubControlName) |
|
virtual SIZE | GetScrollPos () const |
|
virtual SIZE | GetScrollRange () const |
|
virtual void | EnableScrollBar (bool bEnableVertical=true, bool bEnableHorizontal=false) |
|
virtual CScrollBarUI * | GetVerticalScrollBar () const |
|
virtual CScrollBarUI * | GetHorizontalScrollBar () const |
|
virtual void | Delete () |
|
virtual CDuiString | GetName () const |
|
virtual void | SetName (LPCTSTR pstrName) |
|
virtual HWND | GetNativeWindow () const |
|
virtual bool | Activate () |
|
virtual CPaintManagerUI * | GetManager () const |
|
virtual CControlUI * | GetParent () const |
|
virtual CControlUI * | GetCover () const |
|
virtual void | SetCover (CControlUI *pControl) |
|
DWORD | GetBkColor () const |
|
void | SetBkColor (DWORD dwBackColor) |
|
DWORD | GetBkColor2 () const |
|
void | SetBkColor2 (DWORD dwBackColor) |
|
DWORD | GetBkColor3 () const |
|
void | SetBkColor3 (DWORD dwBackColor) |
|
LPCTSTR | GetBkImage () |
|
void | SetBkImage (LPCTSTR pStrImage) |
|
DWORD | GetFocusBorderColor () const |
|
void | SetFocusBorderColor (DWORD dwBorderColor) |
|
bool | IsColorHSL () const |
|
void | SetColorHSL (bool bColorHSL) |
|
SIZE | GetBorderRound () const |
|
void | SetBorderRound (SIZE cxyRound) |
|
bool | DrawImage (HDC hDC, TDrawInfo &drawInfo) |
|
DWORD | GetBorderColor () const |
|
void | SetBorderColor (DWORD dwBorderColor) |
|
RECT | GetBorderSize () const |
|
void | SetBorderSize (RECT rc) |
|
void | SetBorderSize (int iSize) |
|
int | GetBorderStyle () const |
|
void | SetBorderStyle (int nStyle) |
|
virtual const RECT & | GetPos () const |
|
virtual RECT | GetRelativePos () const |
|
virtual int | GetWidth () const |
|
virtual int | GetHeight () const |
|
virtual int | GetX () const |
|
virtual int | GetY () const |
|
virtual RECT | GetPadding () const |
|
virtual void | SetPadding (RECT rcPadding) |
|
virtual SIZE | GetFixedXY () const |
|
virtual void | SetFixedXY (SIZE szXY) |
|
virtual TPercentInfo | GetFloatPercent () const |
|
virtual void | SetFloatPercent (TPercentInfo piFloatPercent) |
|
virtual int | GetFixedWidth () const |
|
virtual void | SetFixedWidth (int cx) |
|
virtual int | GetFixedHeight () const |
|
virtual void | SetFixedHeight (int cy) |
|
virtual int | GetMinWidth () const |
|
virtual void | SetMinWidth (int cx) |
|
virtual int | GetMaxWidth () const |
|
virtual void | SetMaxWidth (int cx) |
|
virtual int | GetMinHeight () const |
|
virtual void | SetMinHeight (int cy) |
|
virtual int | GetMaxHeight () const |
|
virtual void | SetMaxHeight (int cy) |
|
virtual CDuiString | GetToolTip () const |
|
virtual void | SetToolTip (LPCTSTR pstrText) |
|
virtual void | SetToolTipWidth (int nWidth) |
|
virtual int | GetToolTipWidth (void) |
|
virtual TCHAR | GetShortcut () const |
|
virtual void | SetShortcut (TCHAR ch) |
|
virtual bool | IsContextMenuUsed () const |
|
virtual void | SetContextMenuUsed (bool bMenuUsed) |
|
virtual const CDuiString & | GetUserData () |
|
virtual void | SetUserData (LPCTSTR pstrText) |
|
virtual UINT_PTR | GetTag () const |
|
virtual void | SetTag (UINT_PTR pTag) |
|
virtual bool | IsVisible () const |
|
virtual bool | IsEnabled () const |
|
virtual void | SetEnabled (bool bEnable=true) |
|
virtual bool | IsMouseEnabled () const |
|
virtual bool | IsKeyboardEnabled () const |
|
virtual void | SetKeyboardEnabled (bool bEnable=true) |
|
virtual bool | IsFocused () const |
|
virtual void | SetFocus () |
|
virtual bool | IsFloat () const |
|
virtual void | SetFloat (bool bFloat=true) |
|
void | AddCustomAttribute (LPCTSTR pstrName, LPCTSTR pstrAttr) |
|
LPCTSTR | GetCustomAttribute (LPCTSTR pstrName) const |
|
bool | RemoveCustomAttribute (LPCTSTR pstrName) |
|
void | RemoveAllCustomAttribute () |
|
void | Invalidate () |
|
bool | IsUpdateNeeded () const |
|
void | NeedUpdate () |
|
void | NeedParentUpdate () |
|
DWORD | GetAdjustColor (DWORD dwColor) |
|
virtual void | Init () |
|
virtual void | Event (TEventUI &event) |
|
virtual CDuiString | GetAttribute (LPCTSTR pstrName) |
|
virtual CDuiString | GetAttributeList (bool bIgnoreDefault=true) |
|
virtual void | SetAttributeList (LPCTSTR pstrList) |
|
virtual bool | Paint (HDC hDC, const RECT &rcPaint, CControlUI *pStopControl=NULL) |
|
virtual void | PaintBkColor (HDC hDC) |
|
virtual void | PaintBkImage (HDC hDC) |
|
virtual void | PaintStatusImage (HDC hDC) |
|
virtual void | PaintText (HDC hDC) |
|
virtual void | PaintBorder (HDC hDC) |
|
virtual void | DoPostPaint (HDC hDC, const RECT &rcPaint) |
|
void | SetVirtualWnd (LPCTSTR pstrValue) |
|
CDuiString | GetVirtualWnd () const |
|