Add one more option to OpenWindow() so that you can have it maximized, minized, or normal.
I know it's the WinAPI but could be neat
Tony
[Implemented] Maximized option for OpenWindow()
Simple enough to do...
Just change this
to this for maximized
or to this for minimized
Viola! 
Just change this
Code: Select all
OpenWindow(#Window, x, y, InnerWidth, InnerHeight, Flags, Title$ [, ParentWindowID])
Code: Select all
OpenWindow(#Window, x, y, InnerWidth, InnerHeight, Flags | $1000000, Title$ [, ParentWindowID])
Code: Select all
OpenWindow(#Window, x, y, InnerWidth, InnerHeight, Flags | $20000000, Title$ [, ParentWindowID])

Yup!Andre wrote:So its only needed to add two new PB constants....

Code: Select all
#PB_Window_WindowMaximized = $1000000
#PB_Window_WindowMinimized = $20000000