Original Post
Hello.
I am currently trying to add alt+tab functionality while ingame and fullscreen to perform "minimize",
also if screen loses focus invoke same behaviour.
What i am trying to achieve is when user wants to alt tab, or clicks away from the application,
to hide application and only to be shown at "taskbar" also when holding alt and pressing tab to be visible(when using windows)
I have successfully edited my game to handle this, but the window is still up and not minimized as i wish.
Question the first:
How to hide application window, but be able to see it at "task bar"? (how to invoke minimize on window with code)
Question the second:
When i start application, its not shown at "taskbar" until 5-30 seconds pass, any way to speed up this?
Question the third:
When alt tab is pressed, is there a way to get this event in sfml2.0. If not, what is a way to invoke "minimize" when alt tab is pressed?
Any help is appreciated.
I am currently trying to add alt+tab functionality while ingame and fullscreen to perform "minimize",
also if screen loses focus invoke same behaviour.
What i am trying to achieve is when user wants to alt tab, or clicks away from the application,
to hide application and only to be shown at "taskbar" also when holding alt and pressing tab to be visible(when using windows)
I have successfully edited my game to handle this, but the window is still up and not minimized as i wish.
Question the first:
How to hide application window, but be able to see it at "task bar"? (how to invoke minimize on window with code)
Question the second:
When i start application, its not shown at "taskbar" until 5-30 seconds pass, any way to speed up this?
Question the third:
When alt tab is pressed, is there a way to get this event in sfml2.0. If not, what is a way to invoke "minimize" when alt tab is pressed?
Any help is appreciated.