CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Peter's Gekko

public Blog MyNotepad : Imho { }

Tablet API : GetDefaultRecognizer() behavior

The tablet PC is great in recognizing handwriting. But to be able to recognize it needs a language specific recognizer. These are avaliable for several languages.

In the API is the GetDefaultRecognizer method which returns the default recognizer for the system. The simplest overload does not need any parameters and should return the recognizer for the default language of your system. In my article on tablet development I had already been strugling with it; without a parameter it never returned a recognizer at all. Right now I think I see the problem.

My tablet runs XP tablet edition US. My regional settings are set to Dutch but my main input language is English-US. The Dutch language is great but not for developing software. But I do want my prices in Euro's and do want the Dutch date-format. Fiddling with these settings it looks like the GetDefaultRecognizer takes the region setting and not the input language. It will try to find the Dutch recognizer and fail. Setting my region to some English speaking country does return a recognizer.

I think this is a bug, the method should check the input language.

Peter


Published Dec 22 2004, 12:17 PM by pvanooijen
Filed under:

Check out Devlicio.us!

Our Sponsors

Free Tech Publications

This Blog

Syndication

News