int GetWindowTextLength(hwnd) | |||||
HWND hwnd; | /* handle of window with text | */ |
This function returns the length in characters of the given window's caption title. If the hwnd parameter identifies a control, the GetWindowTextLength function returns the length in characters of the text within the control instead of the caption.
hwnd
Identifies the window or control.
The return value specifies the text length in characters. It is zero if no such text exists.
GetWindowText, SetWindowText