it would be fine, if GetWindowTitle() returns the title of a window, even when it is borderless (like in PureBasic):
SpiderBasic:
Code: Select all
OpenWindow(0, 100, 200, 195, 260, "SpiderBasic Window", #PB_Window_BorderLess)
Debug GetWindowTitle(0) ; <- empty
PureBasic:
Code: Select all
OpenWindow(0, 100, 200, 195, 260, "PureBasic Window", #PB_Window_BorderLess)
Debug GetWindowTitle(0) ; <- 'PureBasic Window'