[Implemented] GetWindowTitle() & #PB_Window_BorderLess

Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

[Implemented] GetWindowTitle() & #PB_Window_BorderLess

Post by Peter »

Hello,

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'
Thanks in advance & Greetings ... Peter