Jump to content
  • Advertisement
Sign in to follow this  
Dim_Yimma_H

Can I make Windows ignore other applications than my own?

This topic is 5403 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello I'm writing a fullscreen DirectDraw application and has set the cooperative level of my window to exclusive. The problem is it's still possible to move and resize windows behind my app and "accidently" press the close button of a window even though you can't see it. Is it possible for me (my app) to access the messages of other windows and remove them? Or do you think I have missed any setting that REALLY makes my application the one with exclusive priority. \Jimmy H

Share this post


Link to post
Share on other sites
Advertisement
Dont think so.

Once in full screen there is no chance of closing windows behind it by clicking with the mouse.

Share this post


Link to post
Share on other sites
1) Never screw with anything else than your own application.
2) Never say 'remove' before or after 'window messages', this is like screwing with Windows itself.

As for your problem, you should make your window a border&caption-less window, aka a fullscreen-window.

Share this post


Link to post
Share on other sites
Try windowed mode and play around with the Z-order a bit. That might solve the issue?

But this problem is a bit wierd. Normally this kind of thing does not happen while in full screen. How is this so? Do you actually see the windows behind?

Share this post


Link to post
Share on other sites
(thanks for the tips Pipo DeClown, I'll think about it :))

Nope, I can't see the windows behind but I can see the mouse pointer and it changes to the double-arrow when hovering over the expected window border and changes to the move-cross if I click and drag where there happens to be a window list. And it is possible to close windows even though I can't see them.

If my window is on top and is border- and caption-less can I still move it or right-click the list? If not then maybe the problem is solved. I'll try that, thanks.

\Jimmy H

Share this post


Link to post
Share on other sites
I tried to create a border- and caption-less window before setting up the fullscreen mode and it worked perfectly. It didn't answer to any mouse-related messages and covered up the whole screen and wasn't moveable. Thanks again!

\Jimmy H

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!