Code: Select all
If OpenWindow(1,0,0,10,10,"Getting Maximum Window Size",#PB_Window_Maximize|#PB_Window_Invisible)=0 : MessageRequester("Error", "Can't open a window.",#PB_MessageRequester_Error) : EndIf
MARCOAGPINTO_max_width=WindowWidth(1)
CloseWindow(1)
If OpenWindow(1,0,0,10,10,"Getting Maximum Window Size",#PB_Window_Maximize|#PB_Window_Invisible)=0 : MessageRequester("Error", "Can't open a window.",#PB_MessageRequester_Error) : EndIf
MARCOAGPINTO_max_height=WindowHeight(1)
CloseWindow(1)
If OpenWindow(1,0,0,MARCOAGPINTO_max_width,MARCOAGPINTO_max_height,"Testing PureBasic 6.10 beta 4",#PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_ScreenCentered)=#False : MessageRequester("Error", "Can't open a window.", #PB_MessageRequester_Error) : EndIf
WindowBounds(1,MARCOAGPINTO_max_width,MARCOAGPINTO_max_height,#PB_Ignore,#PB_Ignore)
ResizeWindow(1,0,0,MARCOAGPINTO_max_width,MARCOAGPINTO_max_height)
test=WaitWindowEvent()
Delay(10000)It hides the Windows 11 taskbar, and it doesn't fit all to the left, letting you see the desktop slightly.
Screenshot in FULL-HD here:
https://justpaste.it/axonk


