Group: Window - Library: user32
The GetWindowTextLength function retrieves the length, in characters, of the specified window"s title bar text
Terminating all running applications from a VFP program
Minimizing all running applications
int GetWindowTextLength(
HWND hWnd // handle of window or control with text
);
DECLARE INTEGER GetWindowTextLength IN user32 INTEGER hwnd
hWnd Identifies the window or control
If the function succeeds, the return value is the length, in characters, of the text