how to make a thing that if you press windows, the game hides itself?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
yarfish1237
Posts: 3
Joined: Tue Mar 05, 2024 9:24 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support

how to make a thing that if you press windows, the game hides itself?

Post by yarfish1237 »

i want to do something outside the game but when i press windows the game just doesnt dissapear from screen and it becomes frozen. i can do things outside the game only if i quit the game.
yarfish1237
Posts: 3
Joined: Tue Mar 05, 2024 9:24 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: how to make a thing that if you press windows, the game hides itself?

Post by yarfish1237 »

hey, im still waiting for an answer
User avatar
Enjay
 
 
Posts: 26535
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: how to make a thing that if you press windows, the game hides itself?

Post by Enjay »

I don't know if you want to do this, but if you set the game to run in a window, you should be able to minimise it when you want.

It sounds like your problem might be system specific to a certain extent. In fullscreen mode, when I alt-tab away from GZDoom, the game pauses (and shows the titlepic) and remains full screen, but I can do other things with my computer; I just have GZDoom behaving a little bit like a wallpaper in the background.
User avatar
simc
Posts: 130
Joined: Fri Feb 03, 2012 11:44 am

Re: how to make a thing that if you press windows, the game hides itself?

Post by simc »

The Win key doesn't autohide programs but it should bring up the Windows' start menu.

What works for me is: in full screen press alt+enter and GZDoom should reduce to a window on the desktop.

!! - At this point the mouse pointer pops out of it when I press pause, lower the console or go to the menu by pressing esc. After the game is in pause and I can resize the GZDoom window by dragging and dropping it's window edges or minimize it to the taskbar.

To go back I click the GZDoom window, press alt+enter again and return to the game from the pause, console or menu.
yarfish1237
Posts: 3
Joined: Tue Mar 05, 2024 9:24 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Re: how to make a thing that if you press windows, the game hides itself?

Post by yarfish1237 »

thx yall
Post Reply

Return to “General”