MLM QUERYTEXTLENGTH: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:MLM_QUERYTEXTLENGTH}} This message returns the number of characters in the text. ==Syntax== <pre> param1 ULONG ulReserved; →Reserved value, should be 0.: param2 ULONG ulReserved; →Reserved value, should be 0.: </pre> ==Parameters== ;ulReserved (ULONG) - input: Reserved value, should be 0. ;ulReserved (ULONG) - input: Reserved value, should be 0. ==Returns== ;iptText (IPT) - return: Count of text in bytes. ==Remarks== This message r..." |
(No difference)
|
Latest revision as of 02:45, 28 April 2025
This message returns the number of characters in the text.
Syntax
param1 ULONG ulReserved; /* Reserved value, should be 0. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- ulReserved (ULONG) - input
- Reserved value, should be 0.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- iptText (IPT) - return
- Count of text in bytes.
Remarks
This message returns the number of characters in the text. Hard line- breaks are counted as 1 and soft line-breaks as 0. This message differs from the WinQueryWindowTextLength call in that it returns a LONG.
Default Processing
The default window procedure takes no action on this message, other than to set iptText to 0.