Syntax
Result$ = GetWindowTitle(#Window)
Returns in 'Result$' 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") Title$ = GetWindowTitle(2) ; Will returns "My cool title" EndIf
If OpenWindow(2, 100, 100, 200, 100, #PB_Window_SystemMenu, "My cool title") Title$ = GetWindowTitle(2) ; Will returns "My cool title" EndIf
Supported OS
Windows, Linux