SetWindowTitle()

Syntax

SetWindowTitle(#Window, Title$)
Description
Changes the text which is currently displayed in the specified #Window's title bar.
  If OpenWindow(2, 100, 100, 200, 100, #PB_Window_SystemMenu, "My cool title")
    SetWindowTitle(2, "Even cooler title !")
    
    Repeat
    Until WaitWindowEvent() = #PB_Event_CloseWindow
  EndIf

Supported OS

Windows, Linux, MacOS X

<- SetWindowCallback() - Window Index - UseWindow() ->