TSF Aware

Dictation, Windows Speech Recognition, and Text Services Framework.

Browse by Tags

Tagged Content List
  • Blog Post: Where are the TSF Samples?

    Many people have emailed me asking about the TSF samples on MSDN.  They’re supposed to be on MSDN code gallery, although they don’t appear to be there. They are, however, part of the Windows SDK . After installation, you'll find them in %programfiles%\Microsoft SDKs\Windows\v6.1\Samples\winui\Input...
  • Blog Post: Things the Documentation left out, part N

    I recently had two people ask me the same question: "Why can't I insert more than one character into a composition on Notepad?" It's actually a bit more complicated than that, since this behavior only appears to happen on Windows XP with a US English text service. (Japanese text services appear...
  • Blog Post: Oops!

    If you've tried to use the modified version of Scintilla that I described in my MSDN article , you will find that the zipped sources don't actually have the changes that I made. That was my fault; when I was packaging the sources, I had two versions of ScintillaWin.cxx around, and I picked the newer...
  • Blog Post: Input Scopes

    Another useful, but underutilized, group of functions in TSF are those relating to Input Scopes. Input Scopes allow an application to define the sorts of things that are expected in this document (edit control, etc.). For example, the Internet Explorer 7 address bar has an input scope of IS_URL | IS_DEFAULT...
  • Blog Post: How do I use RichEdit 4.1?

    Another thing I didn't talk about in my article was how to make sure your rich text edit controls are based on RichEdit 4.1 (which has TSF support). You need to do two things: 1) change your window class name from RICHEDIT_CLASS to MSFTEDIT_CLASS, and 2) LoadLibrary("msftedit.dll") instead of LoadLibrary...
  • Blog Post: Easy Dictation support for Windowless RichEdit controls

    In my article in MSDN, I mention that there are some easy ways to enable dictation support in controls that don't normally support dictation. All the methods I described assume that the control has a window. There is a way to enable dictation support for windowless rich text edit controls, assuming that...
  • Blog Post: Published!

    You might have noticed that I haven't really talked about text stores on this blog. That's because I've been working on an article for MSDN Magazine on just that very subject. It's in the July 2007 issue, and I just got my copy in the mail, so if you're a subscriber, you can read all the gory details...
  • Blog Post: Generating Candidates from an Application

    Kirby left a comment to my post on candidates asking when a text service should create an ITfCandidateList. The answer is that when the text service wants to show candidates (via a preserved key or other mechanism), it should show its modal UI, and quite possibly may wish to push a new context so...
  • Blog Post: TSF Application interfaces

    The first stop on the TSF tour is the application interfaces. These are implemented by applications or text controls. An application (or text control) must implement ITextStoreACP to be considered ‘TSF-aware'. It may choose to implement any of the other interfaces described in the table below. I also...
Page 1 of 1 (9 items)