Sets a guide structure into an HRC
int SetGuideHRC( HRC hrc, LPGUIDE lpguide, UINT nFirstVisible )
Handle to the HRC
Pointer to a GUIDE
structure, or NULL. All coordinates are in screen coordinates.
For boxed controls, nFirstVisible
refers to the first visible box (leftmost and topmost for left-right,
top-down languages like English). For other controls, this is the first visible
character position (leftmost for English) in a single-line control, and the first
visible line (topmost for English) in multiline controls.
Returns HRCR_OK if successful; otherwise, returns one of the following
||Invalid parameter or other error.
||The guide structure is invalid.
This function is useful for doing boxed recognition. The GUIDE
structure defines the size and position of the boxes. The nFirstVisible
parameter notifies the recognizer which is the first visible character
position (single-line controls) or line (multiline controls) in case the contents
were scrolled. The writing direction affects the meaning of this value.
is NULL, or if all the members in the GUIDE
structure are 0, the recognizer does not use guides (free input).
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages