Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>getwindowtext()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
GetWindowText()
Return the title of a window or the text within a control
------------------------------------------------------------------------------

Syntax
GetWindowText( <hWnd> )   -->   cText

Arguments
<hWnd> is the handle of the window.

Returns
If successful, this function returns the text in the window's
title bar, or in the control (as appropriate).  Otherwise, a
null string ("") is returned.

Description
This function is mainly used to retrieve the text in a
control, typically after the user has had an opportunity to
edit it.

Example
? "The window title is ", GetWindowText( hWnd )


See Also: SetWindowText()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson