Months ago I was complaining that the window appeared partly hidden (negative coordinates).
With the latest beta, it now appears more to the right (not (0,0)).
Here is a code reproducing it on the latest Windows 11:
Code: Select all
; Open a Window
; 2/MAR/2024: Added #PB_Window_SizeGadget to main open window to fix Windows 11 issue of them appearing not at (0,0): https://www.purebasic.fr/english/viewtopic.php?t=83461
w=1024 ;+get_extra_width(100)
h=600 ;+get_extra_height(100)
#WINDOW_MAIN=1
If OpenWindow(#WINDOW_MAIN,0,0,w,h,"Proofing Tool GUI V"+current_version$+" build "+current_build$,#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_SizeGadget)=#False : MessageRequester("Error", "Can't open a window.", #PB_MessageRequester_Error) : EndIf
Repeat
Until WaitWindowEvent()=#PB_Event_CloseWindow
Thanks!


