Currently the syntax is: ResizeWindow(Width, Height)
I would like it to be: ResizeWindow(Width, Height [,Flags])
where flags is one of:
#PB_Window_ScreenCentered
#PB_Window_WindowCentered
This would give a simple way of centering a window when resizing it.
Enhancement to ResizeWindow()
Enhancement to ResizeWindow()
Anthony Jordan
hmm i guess this would be more usefull/logical in MoveWindow().
c ya,
nco2k
Code: Select all
ResizeWindow(640, 480)
MoveWindow(0, 0, #PB_Window_ScreenCentered)
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf