When window is set to be resizeable, the maximize button should be enabled. [u524]

Reporter: time-killer-games  |  Status: open  |  Last Modified: August 20, 2017, 12:01:09 PM

It should, but it isn't...

time-killer-games  
@JoshDreamland any chance you could fix this one if i gave you one big virtual hug?
JoshDreamland  

I don't use Windows, so I'd basically have to eyeball it, which I'm happy to do if I have guinea pigs. Otherwise, you should ask Robert.
time-killer-games  

@RobertBColton when you're less busy, any chance you could take a look at this? thanks!

RobertBColton  

Use the function, not the global game settings. There's tons of game settings that haven't been implemented, I was going to rework that at some point.
JoshDreamland  

Wow, why is the global game setting not just using the function? Is it taken into account while setting up the window?
RobertBColton  

Nevermind, there is no actual function, the setting does work but he's right that the maximize button is for some reason disabled. It's probably the window style that's being set.

Edit: Can confirm in GMS 1.4 that the setting should allow the maximized button.

Edit 2: The setting is really hard to find because we name it 3 different things including allowResize, isSizable, allowWindowResize, and we also have an unused variable resizable.

Anyway, isSizable does set the maximize box style too so I don't know why it does appear:

newlong |= WS_SIZEBOX | WS_MAXIMIZEBOX;

Please sign in to post comments, or you can view this issue on GitHub.