Share via


HwxSetGuide (Windows Embedded CE 6.0)

1/6/2010

This function points to a structure that specifies the size and position on a screen of input boxes, which collect characters drawn by a user.

Syntax

BOOL HwxSetGuide(
  HRC hrc,
  HWXGUIDE* lpGuide
);

Parameters

  • hrc
    [in] Handle to the handwriting recognition context (HRC) object.
  • lpGuide
    [in] Long pointer to an HWXGUIDE structure.

Return Value

TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.

Remarks

Call HwxSetGuide after the HwxCreate function and before accepting user input to the HRC with calls to the HwxInput function. The handwriting recognition engine requires that an application specify a HWXGUIDE structure for HRC objects.

The HWXGUIDE structure can define one input area, or box, or it can define many input areas. When the guide contains multiple input boxes, HwxGetResults returns results for multiple characters.

Requirements

Header recog.h
Library hwxcht.lib, Hwxjpn.lib, Hwxkor.lib, hwxusa.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

HwxCreate
HwxGetResults
HWXGUIDE
HwxInput

Other Resources

Handwriting Recognizer Engine (HWX) Functions