RCRT_ Results Type
RCRT_ values apply only to recognizers compatible with version 1.0 of the Pen
API. They are used in the wResultsType
member of the RCRESULT
structure, which specifies the type of results as described in the following
||Set by a hook if the result has already been acted upon. If an application
receives a result with this bit already set, it should erase the ink and perform
no other pro-cessing. An application-wide hook can set this flag. The Hform
sample application demonstrates its use.
||Normal return type.
||Result is a gesture symbol.
||Nothing recognized; only the data is returned. No recognition was attempted.
||Nothing recognized. The ink drawn did not match any enabled symbols.
||Recognizer-specific symbol recognized.
||Result contained unidentified results.
The code below shows an example of how to use RCRT_ values:
if ((lpr->wResultsType & (RCRT_NOSYMBOLMATCH | RCRT_ALREADYPROCESSED |
RCRT_NORECOG | RCRT_PRIVATE ) ) == 0 )
// A gesture or character
if (lpr->wResultsType & RCRT_GESTURE)
. // Handle Gesture
. // Character results
. // Handle special cases as necessary. In general,
. // should just ignore. This is what hedits do.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages