#include <UiMultiLineEditPro.h>
继承自UiWin。
公有成员 | |
| void | AddAffix (WCHAR *FilePath) |
| void | addAffixInfo (stAffixInfo affix) |
| virtual void | AddChar (TCHAR c, int pos) |
| void | AddImage (WCHAR *FilePath) |
| int | addMultiLineChar (int pos, TCHAR c, HDC hdc, int screenWidth) |
| void | AddString (LPCWSTR str, int pos) |
| void | AddText (wstring subText) |
| bool | AppendString (LPCWSTR str, int pos) |
| virtual int | CalcContentHeight () |
| 获取编辑控件内文本的高度 | |
| virtual int | CalcContentTopPosV () |
| 滚动条相关实现 | |
| void | CalFaceStrPos (wstring segFaceStr) |
| void | CalPagePos () |
| bool | CaretInRang (int pos) |
| 列表控件的内容原点相对于控件的顶部的偏移 | |
| void | Clear () |
| void | ClearImage () |
| int | ConvertPos (int pos) |
| bool | DeleteFace (int line, int iFacePos) |
| void | DrawCharNBN (wstring temp, int &nLine, bool addLF) |
| INT | DrawTextExW (HDC hdc, LPWSTR str, INT i_count, LPRECT rect, UINT flags, LPDRAWTEXTPARAMS dtp) |
| bool | empty () |
| void | EnableGridlines (bool bEnable) |
| 启用默认表格线 | |
| void | EnableZoomIn (bool b) |
| bool | FindPic (int LineNo, stImageInfo **img) |
| void | FindPiont (int *Arrary, int nCount, std::vector< int > &List) |
| std::vector< stAffixInfo > & | GetAffix () |
| MZFC_INLINE int | GetAscent () |
| int | GetCharNum () |
| MZFC_INLINE int | getCurPos () |
| int | GetCurrentPageTopLineNum () |
| MZFC_INLINE int | GetDescent () |
| MZFC_INLINE int | GetEditBgType () |
| int | GetFirstCharByLine (int line) |
| int | GetFirstCharByPos (int pos) |
| int | GetFirstCharPos (wstring &lineStr) |
| 最近的一次鼠标按下时控件是否正在滚动 | |
| UINT | GetHoldTimerId () |
| std::vector< stImageInfo > & | GetImg () |
| int | GetLastCharByLine (int line) |
| MZFC_INLINE int | GetLastOp () |
| MZFC_INLINE int | GetLeftInvalid () |
| int | GetLineByPos (int pos) |
| int | GetLineExcuByPos (int pos) |
| MZFC_INLINE int | getLineHeight () |
| 获取行高 | |
| int | getLineNum () |
| MZFC_INLINE int | GetMaxChars () |
| bool | getMultiLineTextExtent (HDC hdc, int nMaxExten) |
| int | GetMutiEditHeight () |
| int | GetOriginOffset () |
| BOOL | getParagraphTextExtent (HDC hdc, const std::wstring &str, int nMaxExten) |
| int | getPos (POINT pt) |
| MZFC_INLINE bool | GetReadState () |
| int | getRect (int pos, CRect *prc) |
| wstring | getRectStr (int pos, CRect *prc, int &LineNum) |
| int | GetResetPosition (POINT pt) |
| int | GetRightInvalid () |
| UINT | GetScrollTimerId () |
| int | GetSelectChar (POINT pt, int cx, int cy) |
| wstring | GetStrFromLineNum (int i) |
| int | GetTextHeight (wstring subText) |
| int | GetTextLen () |
| int | GetTopPos (void) |
| get the top position of the content | |
| int | GetValidLineNum () |
| bool | GetVisibleRange (int *nIndex, int *nCount) |
| void | GoToCharPos (int Pos) |
| bool | HaveLine () |
| bool | InPicture (int xPos, int yPos) |
| void | InsertText (LPCTSTR text, int pos, int TextSize, COLORREF clColor) |
| bool | IsFace (int line, int charpos) |
| bool | IsGridlinesEnabled () |
| bool | isWordChar (TCHAR c) |
| void | MoveTopPos (int nOffset) |
| move the top position of the content | |
| INT | MzDrawTextW (HDC hdc, LPCWSTR str, INT count, LPRECT rect, UINT flags) |
| virtual int | OnChar (TCHAR chCharCode, LPARAM lKeyData) |
| call when a keyboard character key is pressed.(only when the control has focus) | |
| void | OnFocusd (UiWin *pWinPrev) |
| called when the control gain keyboard focus | |
| virtual int | OnImeComposition (BOOL fFlags) |
| call when receive a IME message.(only when the control has focus) | |
| virtual int | OnImeEndComposition () |
| call when receive a IME message.(only when the control has focus) | |
| virtual int | OnImeStartComposition () |
| call when receive a IME message.(only when the control has focus) | |
| virtual void | OnInsertPic (TCHAR *szString) |
| virtual int | OnKeyDown (int nVirtKey, DWORD lKeyData) |
| call when the keyboard is pressed down.(only when the control has focus) | |
| virtual int | OnLButtonDown (UINT fwKeys, int xPos, int yPos) |
| 鼠标按下控件时会被调用的成员函数 | |
| virtual int | OnLButtonUp (UINT fwKeys, int xPos, int yPos) |
| 鼠标放开控件时会被调用的成员函数 | |
| virtual void | OnLostFocus (UiWin *pWinNext) |
| called when the control lost keyboard focus | |
| virtual int | OnMouseMove (UINT fwKeys, int xPos, int yPos) |
| 鼠标在控件上移动时会被调用的成员函数 | |
| virtual void | OnPaste (TCHAR *szString) |
| virtual void | OnPaste () |
| called if the control has keyboard focus when the container window receive WM_PASTE message | |
| virtual void | OnPressedHoldTimeup () |
| called when pressed-hold is ended | |
| virtual int | OnTimer (UINT_PTR nIDEvent) |
| called then Timer arrived. | |
| virtual void | OnWmA4M8 (WPARAM wParam, WPARAM lParam) |
| called if the control has keyboard focus when the container window receive WM_A4M8 message | |
| void | OpenBgColor (bool bBgColor) |
| void | OpenFace (bool face) |
| 打开笑脸识别功能,默认关闭 | |
| void | PaintBorder (HDC hdc, RECT *prcUpdate) |
| void | PaintWin (HDC hdc, RECT *prcWin, RECT *prcUpdate) |
| Draw the control on the destinate DC. | |
| virtual void | PaintWinBg (HDC hdc, RECT *prcWin, RECT *prcUpdate) |
| int | remainder_is_none_or_newline (int num_chars, const WCHAR *str) |
| virtual void | RemoveChar (int pos) |
| bool | RemoveImage (HDC hdc, int screenWidth) |
| int | removeMultiLineChar (int pos, HDC hdc, int screenWidth) |
| void | ScrollStart (double fScrollSpeed) |
| start scroll | |
| void | ScrollStop () |
| stop scroll | |
| void | ScrollToLine (int i) |
| bool | ScrollToNextScreen () |
| bool | ScrollToPreviousScreen () |
| void | SetAscent (int h) |
| void | SetBgColor (COLORREF crBg) |
| void | SetDescent (int h) |
| void | SetEditBgType (int nEditBgType) |
| void | SetFaceText () |
| void | SetFontChangeable (bool b) |
| void | SetInitHeight (int pHeight) |
| void | SetInsideScroll (bool iState) |
| void | SetLeftInvalid (int offset) |
| void | SetLineSpace (int nLineSpace) |
| 设置行间距,默认是7 | |
| void | SetMaxChars (int n) |
| 设置控件能输入的最大字符数,默认不限制字符数 | |
| void | SetOriginOffset (int offset) |
| void | SetPos (int x, int y, int w, int h, UINT flags=0) |
| void | SetReadOnly (bool status) |
| 设置控件的只读属性 | |
| void | SetRightInvalid (int offset) |
| void | SetSendMsgToParent (bool b) |
| void | SetSipMode (DWORD dwMode) |
| 设置打开键盘的类型 | |
| void | SetStopScrollZeroSpeed (bool bStop) |
| void | SetText (LPCTSTR text) |
| 设置控件的文本 | |
| void | SetTextSize (int nSize) |
| set the text size property | |
| void | SetTopMargin (int i) |
| void | SetTopPos (int nTopPos) |
| 获得EDIT内容顶部与窗口顶部的相对位移 | |
| void | SpeedSplitLine (HDC hdc, wstring strSplitStr, RECT rcText) |
| void | SplitChar (wstring temp, int &nLine, bool addLF) |
| void | SplitChinese (string temp, std::vector< stLanguage > &m_TextList, RECT rcText) |
| void | SplitLastChar (string temp, std::vector< stLanguage > &m_TextList) |
| bool | SplitStringByFace (wstring strCharShow) |
| void | SwitchSipMode (DWORD dwMode) |
| void | TEXT_DrawUnderscore (HDC hdc, int x, int y, const WCHAR *str, int offset, const RECT *rect) |
| void | TEXT_Ellipsify (HDC hdc, WCHAR *str, unsigned int max_len, unsigned int *len_str, int width, SIZE *size, WCHAR *modstr, int *len_before, int *len_ellip) |
| const WCHAR * | TEXT_NextLineW (HDC hdc, const WCHAR *str, int *count, WCHAR *dest, int *len, int width, DWORD format, SIZE *retsize, int last_line, WCHAR **p_retstr, int tabwidth, int *pprefix_offset, ellipsis_data *pellip) |
| wstring | TEXT_NextPageW (wstring mText) |
| void | TEXT_PathEllipsify (HDC hdc, WCHAR *str, unsigned int max_len, unsigned int *len_str, int width, SIZE *size, WCHAR *modstr, ellipsis_data *pellip) |
| int | TEXT_Reprefix (const WCHAR *str, unsigned int ns, const ellipsis_data *pe) |
| void | TEXT_SkipChars (int *new_count, const WCHAR **new_str, int start_count, const WCHAR *start_str, int max, int n, int prefix) |
| bool | TheLineHaveFace (int lineNo) |
| bool | TheLineInSegment (int lineNo) |
| UiMultiLineEditPro (void) | |
| void | UiMutiLineEditPro::TEXT_WordBreak (HDC hdc, WCHAR *str, unsigned int max_str, unsigned int *len_str, int width, int format, unsigned int chars_fit, unsigned int *chars_used, SIZE *size) |
| void | UpdateCharsPos (int fontChange) |
| bool | WhetherFaceWord (wstring faceWord) |
| virtual | ~UiMultiLineEditPro (void) |
公有属性 | |
| DWORD | dwThreadId |
| CRITICAL_SECTION | gbLock |
| HANDLE | hWaitThreadEvent |
| std::vector< stFaceLine > | m_FaceLineList |
| POINT | m_ptCusPos |
| SelectControl | m_SelectControl_L |
| SelectControl | m_SelectControl_R |
| std::vector< wstring > | m_vNBNStrLineCaretPos |
| std::vector< wstring > | m_vTempLineList |
| bool | StartSplitLine |
| UiMultiLineEditPro::UiMultiLineEditPro | ( | void | ) |
| virtual UiMultiLineEditPro::~UiMultiLineEditPro | ( | void | ) | [virtual] |
| void UiMultiLineEditPro::AddAffix | ( | WCHAR * | FilePath | ) |
| void UiMultiLineEditPro::addAffixInfo | ( | stAffixInfo | affix | ) |
| virtual void UiMultiLineEditPro::AddChar | ( | TCHAR | c, | |
| int | pos | |||
| ) | [virtual] |
| void UiMultiLineEditPro::AddImage | ( | WCHAR * | FilePath | ) |
| int UiMultiLineEditPro::addMultiLineChar | ( | int | pos, | |
| TCHAR | c, | |||
| HDC | hdc, | |||
| int | screenWidth | |||
| ) |
| void UiMultiLineEditPro::AddString | ( | LPCWSTR | str, | |
| int | pos | |||
| ) |
| void UiMultiLineEditPro::AddText | ( | wstring | subText | ) |
| bool UiMultiLineEditPro::AppendString | ( | LPCWSTR | str, | |
| int | pos | |||
| ) |
| virtual int UiMultiLineEditPro::CalcContentHeight | ( | ) | [virtual] |
| virtual int UiMultiLineEditPro::CalcContentTopPosV | ( | ) | [virtual] |
| void UiMultiLineEditPro::CalFaceStrPos | ( | wstring | segFaceStr | ) |
| void UiMultiLineEditPro::CalPagePos | ( | ) |
| bool UiMultiLineEditPro::CaretInRang | ( | int | pos | ) |
列表控件的内容原点相对于控件的顶部的偏移
| void UiMultiLineEditPro::Clear | ( | ) |
| void UiMultiLineEditPro::ClearImage | ( | ) |
| int UiMultiLineEditPro::ConvertPos | ( | int | pos | ) |
| bool UiMultiLineEditPro::DeleteFace | ( | int | line, | |
| int | iFacePos | |||
| ) |
| void UiMultiLineEditPro::DrawCharNBN | ( | wstring | temp, | |
| int & | nLine, | |||
| bool | addLF | |||
| ) |
| INT UiMultiLineEditPro::DrawTextExW | ( | HDC | hdc, | |
| LPWSTR | str, | |||
| INT | i_count, | |||
| LPRECT | rect, | |||
| UINT | flags, | |||
| LPDRAWTEXTPARAMS | dtp | |||
| ) |
| bool UiMultiLineEditPro::empty | ( | ) |
| void UiMultiLineEditPro::EnableGridlines | ( | bool | bEnable | ) |
启用默认表格线
| void UiMultiLineEditPro::EnableZoomIn | ( | bool | b | ) |
| bool UiMultiLineEditPro::FindPic | ( | int | LineNo, | |
| stImageInfo ** | img | |||
| ) |
| void UiMultiLineEditPro::FindPiont | ( | int * | Arrary, | |
| int | nCount, | |||
| std::vector< int > & | List | |||
| ) |
| std::vector<stAffixInfo>& UiMultiLineEditPro::GetAffix | ( | ) |
| MZFC_INLINE int UiMultiLineEditPro::GetAscent | ( | ) |
| int UiMultiLineEditPro::GetCharNum | ( | ) |
| MZFC_INLINE int UiMultiLineEditPro::getCurPos | ( | ) |
| int UiMultiLineEditPro::GetCurrentPageTopLineNum | ( | ) |
| MZFC_INLINE int UiMultiLineEditPro::GetDescent | ( | ) |
| MZFC_INLINE int UiMultiLineEditPro::GetEditBgType | ( | ) |
| int UiMultiLineEditPro::GetFirstCharByLine | ( | int | line | ) |
| int UiMultiLineEditPro::GetFirstCharByPos | ( | int | pos | ) |
| int UiMultiLineEditPro::GetFirstCharPos | ( | wstring & | lineStr | ) |
最近的一次鼠标按下时控件是否正在滚动
| UINT UiMultiLineEditPro::GetHoldTimerId | ( | ) |
| std::vector<stImageInfo>& UiMultiLineEditPro::GetImg | ( | ) |
| int UiMultiLineEditPro::GetLastCharByLine | ( | int | line | ) |
| MZFC_INLINE int UiMultiLineEditPro::GetLastOp | ( | ) |
| MZFC_INLINE int UiMultiLineEditPro::GetLeftInvalid | ( | ) |
| int UiMultiLineEditPro::GetLineByPos | ( | int | pos | ) |
| int UiMultiLineEditPro::GetLineExcuByPos | ( | int | pos | ) |
| MZFC_INLINE int UiMultiLineEditPro::getLineHeight | ( | ) |
获取行高
| int UiMultiLineEditPro::getLineNum | ( | ) |
| MZFC_INLINE int UiMultiLineEditPro::GetMaxChars | ( | ) |
| bool UiMultiLineEditPro::getMultiLineTextExtent | ( | HDC | hdc, | |
| int | nMaxExten | |||
| ) |
| int UiMultiLineEditPro::GetMutiEditHeight | ( | ) |
| int UiMultiLineEditPro::GetOriginOffset | ( | ) |
| BOOL UiMultiLineEditPro::getParagraphTextExtent | ( | HDC | hdc, | |
| const std::wstring & | str, | |||
| int | nMaxExten | |||
| ) |
| int UiMultiLineEditPro::getPos | ( | POINT | pt | ) |
| MZFC_INLINE bool UiMultiLineEditPro::GetReadState | ( | ) |
| int UiMultiLineEditPro::getRect | ( | int | pos, | |
| CRect * | prc | |||
| ) |
| wstring UiMultiLineEditPro::getRectStr | ( | int | pos, | |
| CRect * | prc, | |||
| int & | LineNum | |||
| ) |
| int UiMultiLineEditPro::GetResetPosition | ( | POINT | pt | ) |
| int UiMultiLineEditPro::GetRightInvalid | ( | ) |
| UINT UiMultiLineEditPro::GetScrollTimerId | ( | ) |
| int UiMultiLineEditPro::GetSelectChar | ( | POINT | pt, | |
| int | cx, | |||
| int | cy | |||
| ) |
| wstring UiMultiLineEditPro::GetStrFromLineNum | ( | int | i | ) |
| int UiMultiLineEditPro::GetTextHeight | ( | wstring | subText | ) |
| int UiMultiLineEditPro::GetTextLen | ( | ) |
| int UiMultiLineEditPro::GetTopPos | ( | void | ) |
| int UiMultiLineEditPro::GetValidLineNum | ( | ) |
| bool UiMultiLineEditPro::GetVisibleRange | ( | int * | nIndex, | |
| int * | nCount | |||
| ) |
| void UiMultiLineEditPro::GoToCharPos | ( | int | Pos | ) |
| bool UiMultiLineEditPro::HaveLine | ( | ) |
| bool UiMultiLineEditPro::InPicture | ( | int | xPos, | |
| int | yPos | |||
| ) |
| void UiMultiLineEditPro::InsertText | ( | LPCTSTR | text, | |
| int | pos, | |||
| int | TextSize, | |||
| COLORREF | clColor | |||
| ) |
| bool UiMultiLineEditPro::IsFace | ( | int | line, | |
| int | charpos | |||
| ) |
| bool UiMultiLineEditPro::IsGridlinesEnabled | ( | ) |
| bool UiMultiLineEditPro::isWordChar | ( | TCHAR | c | ) |
| void UiMultiLineEditPro::MoveTopPos | ( | int | nOffset | ) | [virtual] |
| INT UiMultiLineEditPro::MzDrawTextW | ( | HDC | hdc, | |
| LPCWSTR | str, | |||
| INT | count, | |||
| LPRECT | rect, | |||
| UINT | flags | |||
| ) |
| virtual int UiMultiLineEditPro::OnChar | ( | TCHAR | chCharCode, | |
| LPARAM | lKeyData | |||
| ) | [virtual] |
| void UiMultiLineEditPro::OnFocusd | ( | UiWin * | pWinPrev | ) | [virtual] |
| virtual int UiMultiLineEditPro::OnImeComposition | ( | BOOL | fFlags | ) | [virtual] |
| virtual int UiMultiLineEditPro::OnImeEndComposition | ( | ) | [virtual] |
| virtual int UiMultiLineEditPro::OnImeStartComposition | ( | ) | [virtual] |
| virtual void UiMultiLineEditPro::OnInsertPic | ( | TCHAR * | szString | ) | [virtual] |
重载UiWin。
| virtual int UiMultiLineEditPro::OnKeyDown | ( | int | nVirtKey, | |
| DWORD | lKeyData | |||
| ) | [virtual] |
| virtual int UiMultiLineEditPro::OnLButtonDown | ( | UINT | fwKeys, | |
| int | xPos, | |||
| int | yPos | |||
| ) | [virtual] |
| virtual int UiMultiLineEditPro::OnLButtonUp | ( | UINT | fwKeys, | |
| int | xPos, | |||
| int | yPos | |||
| ) | [virtual] |
| virtual void UiMultiLineEditPro::OnLostFocus | ( | UiWin * | pWinNext | ) | [virtual] |
| virtual int UiMultiLineEditPro::OnMouseMove | ( | UINT | fwKeys, | |
| int | xPos, | |||
| int | yPos | |||
| ) | [virtual] |
| virtual void UiMultiLineEditPro::OnPaste | ( | TCHAR * | szString | ) | [virtual] |
重载UiWin。
| virtual void UiMultiLineEditPro::OnPaste | ( | ) | [virtual] |
called if the control has keyboard focus when the container window receive WM_PASTE message
重载UiWin。
| virtual void UiMultiLineEditPro::OnPressedHoldTimeup | ( | ) | [virtual] |
| virtual int UiMultiLineEditPro::OnTimer | ( | UINT_PTR | nIDEvent | ) | [virtual] |
| virtual void UiMultiLineEditPro::OnWmA4M8 | ( | WPARAM | wParam, | |
| WPARAM | lParam | |||
| ) | [virtual] |
| void UiMultiLineEditPro::OpenBgColor | ( | bool | bBgColor | ) |
| void UiMultiLineEditPro::OpenFace | ( | bool | face | ) |
打开笑脸识别功能,默认关闭
| void UiMultiLineEditPro::PaintBorder | ( | HDC | hdc, | |
| RECT * | prcUpdate | |||
| ) |
| void UiMultiLineEditPro::PaintWin | ( | HDC | hdcDst, | |
| RECT * | prcWin, | |||
| RECT * | prcUpdate | |||
| ) | [virtual] |
Draw the control on the destinate DC.
Override this member function to define your own drawings of the control
| hdcDst | Destinate device contact | |
| prcWin | The Rect of the control(hdc 's left-top is the origin) | |
| prcUpdate | Rect of the hdc that need to be update(hdc 's left-top is the origin) |
重载UiWin。
| virtual void UiMultiLineEditPro::PaintWinBg | ( | HDC | hdc, | |
| RECT * | prcWin, | |||
| RECT * | prcUpdate | |||
| ) | [virtual] |
| int UiMultiLineEditPro::remainder_is_none_or_newline | ( | int | num_chars, | |
| const WCHAR * | str | |||
| ) |
| virtual void UiMultiLineEditPro::RemoveChar | ( | int | pos | ) | [virtual] |
| bool UiMultiLineEditPro::RemoveImage | ( | HDC | hdc, | |
| int | screenWidth | |||
| ) |
| int UiMultiLineEditPro::removeMultiLineChar | ( | int | pos, | |
| HDC | hdc, | |||
| int | screenWidth | |||
| ) |
| void UiMultiLineEditPro::ScrollStart | ( | double | fScrollSpeed | ) | [virtual] |
| void UiMultiLineEditPro::ScrollStop | ( | ) | [virtual] |
| void UiMultiLineEditPro::ScrollToLine | ( | int | i | ) |
| bool UiMultiLineEditPro::ScrollToNextScreen | ( | ) |
| bool UiMultiLineEditPro::ScrollToPreviousScreen | ( | ) |
| void UiMultiLineEditPro::SetAscent | ( | int | h | ) |
| void UiMultiLineEditPro::SetBgColor | ( | COLORREF | crBg | ) |
| void UiMultiLineEditPro::SetDescent | ( | int | h | ) |
| void UiMultiLineEditPro::SetEditBgType | ( | int | nEditBgType | ) |
设置编辑控件的背景类型
| nEditBgType | 取值UI_EDIT_BGTYPE_NONE,UI_EDIT_BGTYPE_ROUND_RECT,UI_EDIT_BGTYPE_FILL_WHITE,UI_EDIT_BGTYPE_FILL_WHITE_AND_TOPSHADOW |
| void UiMultiLineEditPro::SetFaceText | ( | ) |
| void UiMultiLineEditPro::SetFontChangeable | ( | bool | b | ) |
| void UiMultiLineEditPro::SetInitHeight | ( | int | pHeight | ) |
| void UiMultiLineEditPro::SetInsideScroll | ( | bool | iState | ) |
设置滚动条是否在控件内部,如在内部,文字超过编辑控件高度出现滚动条 如不在内部,文字超过编辑控件高度,控件会发MZ_WM_UIMUTILINEEDIT_ADDLINE 给父窗口,父窗口需处理该消息,SetPos改变窗口高度.
| iState | 取值true 或者 false |
| void UiMultiLineEditPro::SetLeftInvalid | ( | int | offset | ) |
| void UiMultiLineEditPro::SetLineSpace | ( | int | nLineSpace | ) |
设置行间距,默认是7
| void UiMultiLineEditPro::SetMaxChars | ( | int | n | ) |
设置控件能输入的最大字符数,默认不限制字符数
| void UiMultiLineEditPro::SetOriginOffset | ( | int | offset | ) |
| void UiMultiLineEditPro::SetPos | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h, | |||
| UINT | flags = 0 | |||
| ) | [virtual] |
设置控件的位置与宽高
重载UiWin。
| void UiMultiLineEditPro::SetReadOnly | ( | bool | status | ) |
设置控件的只读属性
| void UiMultiLineEditPro::SetRightInvalid | ( | int | offset | ) |
| void UiMultiLineEditPro::SetSendMsgToParent | ( | bool | b | ) |
| void UiMultiLineEditPro::SetSipMode | ( | DWORD | dwMode | ) |
设置打开键盘的类型
| void UiMultiLineEditPro::SetStopScrollZeroSpeed | ( | bool | bStop | ) |
| void UiMultiLineEditPro::SetText | ( | LPCTSTR | text | ) | [virtual] |
| void UiMultiLineEditPro::SetTextSize | ( | int | nSize | ) |
| void UiMultiLineEditPro::SetTopMargin | ( | int | i | ) |
| void UiMultiLineEditPro::SetTopPos | ( | int | nTopPos | ) | [virtual] |
| void UiMultiLineEditPro::SpeedSplitLine | ( | HDC | hdc, | |
| wstring | strSplitStr, | |||
| RECT | rcText | |||
| ) |
| void UiMultiLineEditPro::SplitChar | ( | wstring | temp, | |
| int & | nLine, | |||
| bool | addLF | |||
| ) |
| void UiMultiLineEditPro::SplitChinese | ( | string | temp, | |
| std::vector< stLanguage > & | m_TextList, | |||
| RECT | rcText | |||
| ) |
| void UiMultiLineEditPro::SplitLastChar | ( | string | temp, | |
| std::vector< stLanguage > & | m_TextList | |||
| ) |
| bool UiMultiLineEditPro::SplitStringByFace | ( | wstring | strCharShow | ) |
| void UiMultiLineEditPro::SwitchSipMode | ( | DWORD | dwMode | ) |
| void UiMultiLineEditPro::TEXT_DrawUnderscore | ( | HDC | hdc, | |
| int | x, | |||
| int | y, | |||
| const WCHAR * | str, | |||
| int | offset, | |||
| const RECT * | rect | |||
| ) |
| void UiMultiLineEditPro::TEXT_Ellipsify | ( | HDC | hdc, | |
| WCHAR * | str, | |||
| unsigned int | max_len, | |||
| unsigned int * | len_str, | |||
| int | width, | |||
| SIZE * | size, | |||
| WCHAR * | modstr, | |||
| int * | len_before, | |||
| int * | len_ellip | |||
| ) |
| const WCHAR* UiMultiLineEditPro::TEXT_NextLineW | ( | HDC | hdc, | |
| const WCHAR * | str, | |||
| int * | count, | |||
| WCHAR * | dest, | |||
| int * | len, | |||
| int | width, | |||
| DWORD | format, | |||
| SIZE * | retsize, | |||
| int | last_line, | |||
| WCHAR ** | p_retstr, | |||
| int | tabwidth, | |||
| int * | pprefix_offset, | |||
| ellipsis_data * | pellip | |||
| ) |
| wstring UiMultiLineEditPro::TEXT_NextPageW | ( | wstring | mText | ) |
| void UiMultiLineEditPro::TEXT_PathEllipsify | ( | HDC | hdc, | |
| WCHAR * | str, | |||
| unsigned int | max_len, | |||
| unsigned int * | len_str, | |||
| int | width, | |||
| SIZE * | size, | |||
| WCHAR * | modstr, | |||
| ellipsis_data * | pellip | |||
| ) |
| int UiMultiLineEditPro::TEXT_Reprefix | ( | const WCHAR * | str, | |
| unsigned int | ns, | |||
| const ellipsis_data * | pe | |||
| ) |
| void UiMultiLineEditPro::TEXT_SkipChars | ( | int * | new_count, | |
| const WCHAR ** | new_str, | |||
| int | start_count, | |||
| const WCHAR * | start_str, | |||
| int | max, | |||
| int | n, | |||
| int | prefix | |||
| ) |
| bool UiMultiLineEditPro::TheLineHaveFace | ( | int | lineNo | ) |
| bool UiMultiLineEditPro::TheLineInSegment | ( | int | lineNo | ) |
| void UiMultiLineEditPro::UiMutiLineEditPro::TEXT_WordBreak | ( | HDC | hdc, | |
| WCHAR * | str, | |||
| unsigned int | max_str, | |||
| unsigned int * | len_str, | |||
| int | width, | |||
| int | format, | |||
| unsigned int | chars_fit, | |||
| unsigned int * | chars_used, | |||
| SIZE * | size | |||
| ) |
| void UiMultiLineEditPro::UpdateCharsPos | ( | int | fontChange | ) |
| bool UiMultiLineEditPro::WhetherFaceWord | ( | wstring | faceWord | ) |
| CRITICAL_SECTION UiMultiLineEditPro::gbLock |
| std::vector<stFaceLine> UiMultiLineEditPro::m_FaceLineList |
| std::vector<wstring> UiMultiLineEditPro::m_vNBNStrLineCaretPos |
| std::vector<wstring> UiMultiLineEditPro::m_vTempLineList |