GetWindowTitle()

语法

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

参数

#Window The window to use.

返回值

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

Remarks

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

示例

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

参阅

SetWindowTitle()

已支持操作系统

所有

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