int pascal GetWindowTextLength(HWND hWnd) <MS-WINDOWS equivalent> This function retrieves length of the text associated with a window. WinGetTextLength() merely sends a WM_GETTEXTLENGTH message to the window. Parameters hWnd is the handle of the window to query. Returns The number of characters in the window's text field.