Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Show window maximized  (Read 2539 times)

0 Members and 1 Guest are viewing this topic.

Phanoo

  • Full Member
  • ***
  • Posts: 136
    • View Profile
Show window maximized
« 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...

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10819
    • View Profile
    • development blog
    • Email
Re: Show window maximized
« Reply #1 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
Current GitHub issue ticket

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. :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything