| 1191 | } |
| 1192 | |
| 1193 | long 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 | |
| 1207 | CDuiString CRichEditUI::GetText() const |
| 1208 | { |
nothing calls this directly
no outgoing calls
no test coverage detected