Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 879 Bytes

GetWindowTextLength.md

File metadata and controls

41 lines (28 loc) · 879 Bytes

Home

Function name : GetWindowTextLength

Group: Window - Library: user32


The GetWindowTextLength function retrieves the length, in characters, of the specified window"s title bar text


Code examples:

Terminating all running applications from a VFP program
Minimizing all running applications

Declaration:

int GetWindowTextLength(
    HWND  hWnd 	// handle of window or control with text
   );  

FoxPro declaration:

DECLARE INTEGER GetWindowTextLength IN user32 INTEGER hwnd  

Parameters:

hWnd Identifies the window or control


Return value:

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