OpenWindow & Maximized state.
Posted: Sat Feb 18, 2017 1:15 pm
I'm noticing something strange with OpenWindow() with PureBasic 5.44LTS, not sure if it's specific to this release or not.
When I use the flag #PB_Window_Maximize to have it open in Maximized state, it'll cover / Hide Windows Taskbar. I have to specify #PB_Window_MaximizeGadget flag to have it work properly, to have the window maximized and yet still have Windows Taskbar showing.
Is the #PB_Window_MaximizeGadget flag suppose to be an requirement to have PB coded apps to have proper maximized state without the Windows Taskbar being covered up, hidden behind?
If this is by design, could the PB document mention these two maximized screen states and the requirement of #PB_Window_MinimizeGadget flag to have a normal maximum state? Thanks
When I use the flag #PB_Window_Maximize to have it open in Maximized state, it'll cover / Hide Windows Taskbar. I have to specify #PB_Window_MaximizeGadget flag to have it work properly, to have the window maximized and yet still have Windows Taskbar showing.
Is the #PB_Window_MaximizeGadget flag suppose to be an requirement to have PB coded apps to have proper maximized state without the Windows Taskbar being covered up, hidden behind?
If this is by design, could the PB document mention these two maximized screen states and the requirement of #PB_Window_MinimizeGadget flag to have a normal maximum state? Thanks

Code: Select all
; If OpenWindow(0, 100, 200, 195, 260, "PureBasic Window", #PB_Window_Maximize|#PB_Window_MinimizeGadget|#PB_Window_MaximizeGadget) ; Maximized, Taskbar present.
If OpenWindow(0, 100, 200, 195, 260, "PureBasic Window", #PB_Window_Maximize|#PB_Window_MinimizeGadget) ; Covers / Hides Windows Taskbar
Repeat
Event = WaitWindowEvent()
If Event = #PB_Event_CloseWindow
Quit = 1
EndIf
Until Quit = 1
EndIf
End