MCPcopy Create free account
hub / github.com/cinience/RedisStudio / GetTextLength

Method GetTextLength

DuiLib/Control/UIRichEdit.cpp:1193–1205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191}
1192
1193long CRichEditUI::GetTextLength(DWORD dwFlags) const
1194{
1195 GETTEXTLENGTHEX textLenEx;
1196 textLenEx.flags = dwFlags;
1197#ifdef _UNICODE
1198 textLenEx.codepage = 1200;
1199#else
1200 textLenEx.codepage = CP_ACP;
1201#endif
1202 LRESULT lResult;
1203 TxSendMessage(EM_GETTEXTLENGTHEX, (WPARAM)&textLenEx, 0, &lResult);
1204 return (long)lResult;
1205}
1206
1207CDuiString CRichEditUI::GetText() const
1208{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected