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>setwindowtext()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetWindowText()
Set the title of a window or the text within a control
------------------------------------------------------------------------------

Syntax
SetWindowText( <hWnd>, <cText> )   -->   nil

Arguments
<hWnd> is the handle of the window.

<cText> is the character string to be used for the title bar
(caption) of the window.

Returns
NIL.

Description
This function is mainly used to set the text in the title bar
of a window, but can be used to set the text in a control
(perhaps so that the user can edit it).

Example
? "The existing window title is ", GetWindowText( hWnd )
SetWindowText( hWnd, "Another Title" )
? "The new window title is ", GetWindowText( hWnd )


See Also: GetWindowText()

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