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

Author Topic: Iconify and fullscreen toggle  (Read 4692 times)

0 Members and 1 Guest are viewing this topic.

Pol

  • Newbie
  • *
  • Posts: 18
    • View Profile
Iconify and fullscreen toggle
« on: August 13, 2009, 08:50:35 pm »
Akin to:

http://www.libsdl.org/cgi/docwiki.cgi/SDL_WM_IconifyWindow

http://www.libsdl.org/cgi/docwiki.cgi/SDL_WM_ToggleFullScreen

Obviously the fullscreen toggle can be implemented by SFML end-user easily with Window.Create... But I'm not sure how to handle minimizing. (Useful for fullscreen windows when hitting Alt+Tab)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Iconify and fullscreen toggle
« Reply #1 on: August 13, 2009, 09:48:24 pm »
Quote
Useful for fullscreen windows when hitting Alt+Tab

Isn't it done automatically by the OS?
Laurent Gomila - SFML developer

Pol

  • Newbie
  • *
  • Posts: 18
    • View Profile
Iconify and fullscreen toggle
« Reply #2 on: August 13, 2009, 11:16:20 pm »
Nope, not here; on w32: yes.

When in fullscreen the app gets like an 'exclusive' WM lock.. Other normal WM key commands don't have any effect such as Alt+Tab, or Alt+F4, etc.

On w32, Alt+Tab, Alt+F4,  the 'start menu' key, and etc all still work so the app doesn't have such an 'exclusive' lock.

bmn

  • Newbie
  • *
  • Posts: 18
    • View Profile
Iconify and fullscreen toggle
« Reply #3 on: October 07, 2009, 02:09:23 pm »
Laurent, is it possible that you do something with this, especially iconify thing?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Iconify and fullscreen toggle
« Reply #4 on: October 07, 2009, 02:13:23 pm »
I won't be able to work on this soon, but I'll look into it one day ;)
Laurent Gomila - SFML developer