Advertisement

Stealing my screen!

Started by July 01, 2000 02:13 PM
3 comments, last by ao 24 years, 5 months ago
Howdy, How do I prevent programs such as PowWow from making my fullscreen DX game get minimized? What happens is this, I will be debugging my game or just playing it and then all of the sudden it will get minimized and I will have a Powwow message saying so and so is requesting a chat session... I want those messages to be ignored and to have my game stay fullscreen and continue on. PS: using DX, visual C++... and win32 api, the program can run under 9x/2000/nt. just incase you need that info to help me. ao
Play free Java games at: www.infinitepixels.com
well, here is a simple idea...turn off powwow (or whatever is booting you out).

also, i know that you can ignore some system messages like turning screen savers on and stuff. i don''t know exactly how to do this though. two places you might want to look are in your window message handler and maybe when you set up the window to start with, there may be something you can do to the priority level. like i said i am not too sure though. just turn off the stupid program if it becomes annoying. that''s what i do

<(o)>
<(o)>
Advertisement
Well, That would work for me ( turning it off ), but if someone else is playing it then who knows what program might try and get on top and tell my program to ride the porcelain pony.

ao
Play free Java games at: www.infinitepixels.com
How about just handling WM_ACTIVATEAPP messages, and making sure the game can safely minimize/restore, just in case they need to minimize it or it gets minimized for some reason?

Or do you already do that?
There''s a no_minize flag you can set with Dx... so it won''t minimize...

same type of flag as the full-screen one
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement