简体   繁体   中英

how to retrieve total characters in a document used by the TSF manager in windows8?

i am working on Text service framework in windows8 application. in this application document manager interface using method is (*ppRange)-GetText(ec,TF_TF_IGNOREEND,wStr,WCHAR_MAX, &fetched);this method return only compossing mode text only . how to retrieve total characters in a document(notepad)?

Notepad isn't TSF-aware, so you can't get the entire document. As it happens, however, edit controls (which Notepad uses) are supported by the transitory extension service, and you can use that instead. Just be sure to follow the rules.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM