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