win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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