B3D style scaling window

BlitzMax Forums/BlitzMax Programming/B3D style scaling window

?Win32
Local style=GetWindowLongA(GetActiveWindow(),GWL_STYLE)
SetWindowLongA GetActiveWindow(),GWL_STYLE,style|WS_SIZEBOX
?

Just insert that after you call Graphics. After that, you will need to reset the projection matrix each frame in case the user resizes the window.