HE_CHAROFFSET
Converts the logical character position of a character in a control into a
byte offset to the character. Submessage of WM_PENCTL.
Parameters
wParam
HE_CHAROFFSET.
lParam
The low-order word contains the logical character position. The high-order
word is reserved and must be 0.
Return Value
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.
Comments
This submessage is for bedit controls only. Both the logical character
position and the byte offset are zero-based.
See Also
WM_PENCTL
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database