Re: Stopping ALT-TAB

From: Eyal Teler (et_at_nospam-et3d.com)
Date: 10/15/04

  • Next message: Jacky Luk: "Object Attachment"
    Date: Sat, 16 Oct 2004 01:05:31 +0200
    
    

    The reason it says "you don't!" is that all the people in the world
    will hate you, and that you'll go to hell when you die (or be
    reincarnated as a computer bug, depending on your belief system).

    Just don't do it. Not if you want to sleep soundly at night. Because
    if you do it, and I play your game, you could never be sure that I
    won't send someone with a gun to go to your house when you're asleep.

    If you're faced with a situation where you have to take basic Windows
    functionality to solve a bug, and you find absolutely no way to solve
    it, put it in the readme. Put it in an online FAQ. Mention it in all
    appropriate places. Let the user take care with this. Don't use a nuke
    to kill a bug.

    (And, BTW, disabling the "windows" keys is IMO okay. But alt-tab isn't
    something you accidentally press.)

            Eyal

    Adrian Hirst wrote:
    > Thanks for the reply
    >
    > Is there any possible way to do this even though the directx9 faq says you
    > don't.
    >
    > Thanks
    >
    > Adrian.
    >
    > "Cameron" <cam@foo.bar.invalid> wrote in message
    > news:ckok59$6q5$1$8300dec7@news.demon.co.uk...
    >
    >>Adrian Hirst wrote:
    >>
    >>>Hi,
    >>>
    >>>We want to be able to stop people switching tasks when playing our game
    >>>on XP in fullscreen.
    >>>
    >>>I have read various posts on this subject with the Low level Keyboard
    >>>hook but we just can get it to work it seems that directx is stopping it
    >>>working in fullscreen mode.
    >>>
    >>>Is this possible to do or not?
    >>>
    >>>If so how?
    >>>
    >>>Any help much appreciated
    >>>
    >>>Adrian.
    >>
    >>To quote the FAQ available at
    >>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndxgen/html/directx9devfaq.asp
    >>
    >>"How do I disable ALT+TAB and other task switching?"
    >>"You don't!"
    >>
    >>And I have to say I would agree as this could cause problems for example
    >>what if your application was to become completely unresponsive, this
    >>may result in a situation where the only method would be to do a
    >>hard reboot of the PC.
    >>
    >>~Cameron
    >>
    >
    >
    >


  • Next message: Jacky Luk: "Object Attachment"

    Relevant Pages

    • Re: Linux 2.6.21
      ... But that doesn't make bugzilla "the One Choice". ... If there is no automation, manual tracking is still better than ... We get everything that comes in emailed to us and we can respond by email and RT recognizes the responses being in the same thread and lumps them into the same bug ). ... It also has some cool features like "extract this into the FAQ" and there is a "FAQ" in RT that contains an autogenerated FAQ from what people have pulled out in that way. ...
      (Linux-Kernel)
    • Re: Bug: 2.6.24-smp: Eeek! page_mapcount(page) went negative! (-1)
      ... Subject: Bug: 2.6.24-smp: Eeek! ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: mousedev auto load on 2.6.14-rc{2,3}
      ... This is a known bug in Debian's ... >> hotplug/udev package that is being worked on. ... >> It's not a kernel bug, ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [patch 2.6.21-rc6-git] workaround rtc-related acpi table bugs
      ... The bug prevents misleading boot-time messages: ... trying to use those extended alarms. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)