Is it possible to create a game window that is horizontally, vertically, or fully maximized, and also minimize to the system tray?

Hello everyone,
I’d like to find out if it’s possible to achieve the following with SDL2, or if I need to embed SDL2 into another Windows framework:

  1. Position the game window to occupy one-third of the desktop screen horizontally or one-third vertically.
  2. Have the ability to minimize the window to the system tray.
  3. Add an option to keep the window always on top.

Can all of this be done with SDL2 alone, or would I need to integrate SDL2 with native Windows APIs to achieve these features?

Thank you for your help!

Hi!

You’re asking about SDL2, however this is the GLFW3 forum. The answer to all those questions for GLFW3 is yes, please read the GLFW3 Window Guide for more.