|
Alphabet Priority
The SetAlphabetPriorityHRC function provides a hint to the recognizer about which alphabet the user
intends to use while inputting handwritten characters. Some written symbols have
more than one interpretation, depending on alphabet (this is especially true in
Japanese, which uses multiple alphabets). A crosslike character like the English
plus sign (+) could also be interpreted as a lower case "t", katakana "na" or
"me", or Kanji "juu" (the number 10), for example. Moreover, there are both
SBCS and DBCS versions of English and katakana characters, corresponding to
half-and full-pitch widths, so it's useful for a user or application to be able to
pre-specify widths and character set preferences to minimize recognition errors.
Applications may use the SetAlphabetPriorityHRC API to set width and alphabet priority for HRC scope, or the SetPenAppFlags API to set width (DBCS or SBCS) preference for application scope. The Tool
Palette application may be used to set system-wide priorities. Any priority set
into an HRC supersedes application priority, which supersedes system priority as
set (and if set) by the Tool Palette; in the event of not Tool Palette, the
recognizer's default priority is used. The ALC_GLOBALPRIORITY bit will be set in
all default HRCs, unless it is explicitly cleared with SetAlphabetPriorityHRC. To specify no priority, as opposed to default priority, an application
should clear the ALC_GLOBALPRIORITY bit and set ALC_NOPRIORITY.
- The following constant has been added to the "Gesture" section.
GST_KKCONVERT
| Kana-Kanji convert. (Japanese version only)
|
- In the "Unboxed Recognition" section, the following paragraphs have been
changed.
An HRCRESULT object does not contain a normal text (ASCII for English) string
representation of a guess. This is not possible since a guess might be made up of a
gesture, shape, or other entity that has no text equivalent. Instead, an HRCRESULT contains a string of symbol values, which are 32-bit numbers type-defined as SYV.
Symbol values can represent geometric shapes, gestures, letters of the
alphabet, Japanese kanji characters, musical notes, electronic symbols, or any other
symbols defined by the recognizer. The Pen API provides the function SymbolToCharacter to convert the null-terminated symbol string in HRCRESULT to a normal text string.
- In the section "Getting Results from the RCRESULT Structure," note the version
change in the first sentence of this paragraph.
The RCRESULT structure applies only when an application calls either of the version 1.x
recognition functions, Recognize or RecognizeData. In this case, the system sends a WM_RCRESULT message to the application. The wParam of this message contains a REC_ submessage that indicates why recognition
ended. The lParam of WM_RCRESULT points to an RCRESULT structure, which contains all the results of the recognition.
- Note the change to "text string" (formerly "ASCII string") in this paragraph.
The RCRESULT structure identifies the recognizer's "best guess," which is the guess in
which the recognizer places the most confidence. With this information, an
application can conveniently retrieve a text string of the best guess by calling SymbolToCharacter:
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|