GetWindowTitle()

Syntax

Result$ = GetWindowTitle(#Window)
Description
Returns the text currently displayed in the specified window's title bar.

Parameters

#Window The window to use.

Return value

The text currently displayed in the specified window's title bar.

Remarks

The title of a window can be changed with SetWindowTitle().

Example

  If OpenWindow(2, 100, 100, 200, 100, "My cool title")
    Title$ = GetWindowTitle(2)  ; Will return "My cool title"
  EndIf

See Also

SetWindowTitle()

Supported OS

All

<- GetWindowState() - Window Index - HideWindow() ->