MCPcopy Create free account
hub / github.com/EasyIME/PIME / hideCandidates

Method hideCandidates

PIMETextService/PIMETextService.cpp:333–346  ·  view source on GitHub ↗

hide candidate list window

Source from the content-addressed store, hash-verified

331
332// hide candidate list window
333void TextService::hideCandidates() {
334 if (validCandidateListElementId_) {
335 auto elementMgr = Ime::ComPtr<ITfUIElementMgr>::queryFrom(threadMgr());
336 if (elementMgr) {
337 elementMgr->EndUIElement(candidateListElementId_);
338 candidateListElementId_ = 0;
339 validCandidateListElementId_ = false;
340 }
341 }
342 if (candidateWindow_) {
343 candidateWindow_ = nullptr;
344 }
345 showingCandidates_ = false;
346}
347
348// message window
349void TextService::showMessage(Ime::EditSession* session, std::wstring message, int duration) {

Callers 1

updateCandidateListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected