HFORM: Pen Application that Uses Different Character Sets for Each Field

HFORM is a Microsoft(R) Windows(TM) for Pen Computing application that uses different character sets for each field. HFORM dynamically detects the presence of the pen extensions. If the pen extensions are available, the HFORM controls allow handwriting input; otherwise, they default to standard edit control behavior.

HFORM demonstrates registering a pen-aware application, setting an application recognition hook, implementing delayed recognition, and detecting the presence of the pen extensions.

HFORM is a typical generic form application with several edit fields (name, address, city, and so on). HFORM registers itself as a pen-aware application so that its edit controls will be replaced by hedit controls.

When you enable the Delay Directions Recognition option, the inking field captures ink. When the option is disabled, the first tap in the field causes recognition. After that, the field behaves like a normal hedit control. An accelerator gesture (circle-D) brings up the sample dialog box.

HFORM was built with Windows version 3.1 and runs under Windows versions 3.0 and 3.1. In Windows version 3.0, the application provides edit controls but does not include boxed edit fields or picture fields.

HFORM 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).

For more information on HFORM, see the Microsoft Windows version 3.1 SDK "Microsoft Windows for Pen Computing: Programmer's Reference."

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the hform project." /C"samples}