Converts the logical character position of a character in a control into a
byte offset to the character. Submessage of WM_PENCTL.
The low-order word contains the logical character position. The high-order
word is reserved and must be 0.
If the supplied logical character position is less than the total number of
logical characters in the control, the low-order word of the return value
contains the requested byte offset of the position and the high-order word is 0.
Otherwise, the low-order word contains the length of the text in bytes and the high
word contains 0xFFFF.
This submessage is for bedit controls only. Both the logical character
position and the byte offset are zero-based.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages