Page 1 of 1

#PB_Window_Maximize doesnt works.

Posted: Wed Jan 19, 2022 4:07 pm
by dibor
Hello.
#PB_Window_Maximize does not works on latest RP OS.
But it is works if #PB_Window_MaximizeGadget is exist.

Best Wishes.

Re: #PB_Window_Maximize doesnt works.

Posted: Wed Jan 19, 2022 11:16 pm
by idle
code example please.

Re: #PB_Window_Maximize doesnt works.

Posted: Thu Jan 20, 2022 7:45 am
by dibor
Window is NOT maximized on start:

Code: Select all

If OpenWindow(0,0,0,960,510,"Test",#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_Maximize)

Repeat
A= WaitWindowEvent()
If A=#PB_Event_CloseWindow
Q=1
EndIf
Until Q=1

EndIf 
End
Window is maximized on start:

Code: Select all

If OpenWindow(0,0,0,960,510,"Test",#PB_Window_SystemMenu|#PB_Window_MinimizeGadget|#PB_Window_MaximizeGadget|#PB_Window_Maximize)

Repeat
A= WaitWindowEvent()
If A=#PB_Event_CloseWindow
Q=1
EndIf
Until Q=1

EndIf 
End
Compiler is Beta 2 for RP

Regards.