Disable the Alt+Tab

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe

    Disable the Alt+Tab

    Dear Friends,
    How do disable the Alt+Tab,Alt+F4, ctr+Alt+Delete ,Alt+esc,Ctrl+E sc keys
    through C# program?
    Can anybody give me a clue or sample code?

    Advance Thanks,

    Thanks,
    Joe


  • Günter Prossliner

    #2
    Re: Disable the Alt+Tab

    Why do you need to?

    "Joe" <rajan_sr99@hot mail.com> wrote in message
    news:u2AufmMXDH A.212@TK2MSFTNG P12.phx.gbl...[color=blue]
    > Dear Friends,
    > How do disable the Alt+Tab,Alt+F4, ctr+Alt+Delete ,Alt+esc,Ctrl+E sc keys
    > through C# program?
    > Can anybody give me a clue or sample code?
    >
    > Advance Thanks,
    >
    > Thanks,
    > Joe
    >
    >[/color]


    Comment

    • Rob Schoenaker

      #3
      Re: Disable the Alt+Tab

      You need to call an API method:

      SystemParameter sInfo

      I do not have the actual DLL import, but check it out. You need to use

      SPI_SETSCREENSA VEACTIVE

      to prevent from the key combinations you mention.

      Hope this helps.

      /Rob


      Comment

      • Rob Tillie

        #4
        Re: Disable the Alt+Tab

        Look at the post "How do convert the vb.net to C#" from john sutor.
        It includes source code to do this.

        Greetz,
        -- Rob.

        Joe wrote:[color=blue]
        > Dear Friends,
        > How do disable the Alt+Tab,Alt+F4, ctr+Alt+Delete ,Alt+esc,Ctrl+E sc
        > keys through C# program?
        > Can anybody give me a clue or sample code?
        >
        > Advance Thanks,
        >
        > Thanks,
        > Joe[/color]


        Comment

        Working...