I have the following code:
Code: Select all
OpenWindow(0,0,0,200,200,"Window 1",#PB_Window_ScreenCentered|#PB_Window_SystemMenu)
OpenWindow(1,0,0,100,100,"Window 2",#PB_Window_ScreenCentered|#PB_Window_SystemMenu)
SetActiveWindow(0)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
Thanks
Using Purebasic 5.21 LTS