SFML community forums

General => Feature requests => Topic started by: Phanoo on September 08, 2017, 12:29:07 am

Title: Show window maximized
Post by: Phanoo on September 08, 2017, 12:29:07 am
Seems this doesnt exist yet, this feature would be quite useful.

Can be done easily with this line of code on windows:

ShowWindow(window->getSystemHandle(), SW_MAXIMIZE);

But not portable, sfml would make it portable...
Title: Re: Show window maximized
Post by: eXpl0it3r on September 08, 2017, 12:23:57 pm
While the feature hasn't been implemented yet, we did have at least one (probably more than one) request for in the past and we agree, it's something we want to add. ;)

Previous feature request (https://en.sfml-dev.org/forums/index.php?topic=16903)
Current GitHub issue ticket (https://github.com/SFML/SFML/issues/744)

If you read both links, you'll find pretty much all information needed for the API and some example implementation.
So if you feel like it, we'd highly appreciate someone picking these pieces up and do a clean pull request. :)