Function:
GetWindowTextLength(HWNDhWnd)

 

Description:
Retrieves the length, in characters, of the specified window’s title bar text (if the window has a title bar).

 

Parameters:
hWnd: Identifies the window or control containing the text.

 

Returns:
If the function succeeds, the return value is the length, in characters, of the text.

 

Example:
Click on the calc icon to view a sample of the GetWindowTextLength function.