Shift not working in common control support for Text Services Framework

Shift not working in common control support for Text Services Framework

Post by Stefan Web » Sun, 09 Jan 2005 12:26:04


Hi,
I've noticed that Shift does not generate a keystroke
message to CTextService::OnKeyDown when the TSF is being
used on a program that does not natively support TSF, i.e.
it is using a richedit control that is not version 5.0. I
get this problem in Notepad and Internet Explorer.
However, I do not get it in Wordpad, probably because it
is using the Windows XP version (5.0) of the Richedit
Control with TSF support turned on, and I also do not get
it in Microsoft Word. Can I receive a VK_SHIFT keystroke
message some other way?

Also I have noticed that you cannot get text
(tfSelection.range->GetText) in Notepad or Internet
Explorer unless the text is within the current
composition, but this limitation is not on Word or Wordpad.

Another problem I have noticed is with TSF in Word. If you
are using a TSF in a table's cell and use the GetText
method to get the previous characters it is unpredictable,
and gets characters from another cell. Is there any way
around this.

Are these bugs in TSF, or is it supposed to be like this?
Thanks.