getwindowText<br><br>The GetWindowText function copies the text of the specified window's title bar<br> (if it has one) into a buffer. If the specified window is a control, the text <br>of the control is copied. However, GetWindowText cannot retrieve the text of a <br>control in another application.<br><br>Syntax<br><br>int GetWindowText( HWND hWnd,<br> LPTSTR lpString,<br> int nMaxCount<br>);<br>