GXFPF_* Constants

GXFPF_* constants specify the character position to return based on the screen coordinates of the point relative to a character bounding box.

Constant/value Description
GXFPF_ROUND_NEAREST
( 0x1 )
If the screen coordinates of the point are contained in a character bounding box, the character position returned is the bounding edge closest to the screen coordinates of the point.
GXFPF_NEAREST
( 0x2 )
If the screen coordinates of the point are not contained in a character bounding box, the closest character position is returned.

Remarks

The dwflags parameters of the ITextStoreACP::GetACPFromPoint and ITfContextOwner::GetACPFromPoint methods use these constants.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Redistributable
TSF 1.0 on Windows 2000 Professional
Header
Textstor.h
IDL
Textstor.idl

See also

ITextStoreACP::GetACPFromPoint

ITfContextOwner::GetACPFromPoint