win12.hlp (Table of Contents; Topic list)
WinQueryWindowTextLength (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMESSAGEMGR
 
SHORT WinQueryWindowTextLength(hwnd)
HWND hwnd;    /* handle of the window */
 
The WinQueryWindowTextLength function retrieves the length of the window
text, not including any null termination character.
 
This function sends a WM_QUERYFRAMEINFO message to the window identified by
the hwnd parameter.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hwnd       Identifies the window containing the text.
 
Return Value
 
The return value is the length of the window text.
 
See Also
 
WinQueryWindowText, WM_QUERYFRAMEINFO