PENAPP: Demonstrates the Sample Custom Recognizer (SREC)
PENAPP demonstrates how to load custom recognizers, how to redisplay raw data using the DrawPenData function, and how to process the WM_GLOBALRCCHANGE message.
PENAPP is a skeleton program that can recognize pen input using three separate recognizers: a custom recognizer, a shape recognizer, and the system recognizer.
PENAPP accepts pen input through the input window and sends the input to the system default recognizer, the sample custom recognizer (SREC), or the shape recognizer (SHAPEREC), depending on the menu option you choose.
The output from the recognizers is displayed in the Raw Data and Information windows. The Raw Data window displays the actual ink the user wrote or drew. The Information window displays one of the following:
> For the system recognizer, it displays the recognized ANSI text.
> For the sample custom recognizer, it displays an arrow indicating the direction of the input stroke (up, down, left, or right).
> For the shape recognizer, it displays a "clean" image of the shape. Recognized shapes may be rectangles, ellipses, or lines.
PENAPP was built and tested under Microsoft(R) Windows(TM) version 3.1. The program requires PENWIN.DLL, which can be found in both Microsoft Windows for Pen Computing and the Microsoft Windows version 3.1 Software Development Kit (SDK).
{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the penpad project." /C"samples}