WinXSetText


WinXSetText (hWnd, STRING text)

Sets the text for a control, or the title for a window.

Parameter Description
hWnd The handle to the control or window to set the text for
STRING text The new text for the control or window

Returns

$$TRUE on success or $$FALSE on fail

Remarks

none

Examples

'Set the title of the main window
'(assuming the main window handle is #hMain)

WinXSetText (#hMain, "This is the new window title")

Related Links

WinXGetText$