When I run the following code the window does not appear on my second display but at a weird location on my first:
Code: Select all
OpenWindow(0, 2560, 0, 195, 260, "PureBasic Window",
#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
Code: Select all
OpenWindow(0, 2560, 0, 195, 260, "PureBasic Window",
#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget)
ResizeWindow(0, 2560, 0, #PB_Ignore, #PB_Ignore)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow