CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    2

    Windows Programming

    How to disable Alt-Tab & Ctrl-Alt-Del keys programmatically in Windows NT & 95?


  2. #2
    Join Date
    May 1999
    Posts
    26

    Re: Windows Programming

    If you want to disable the alt-tab, alt-esc, ctrl-esc, ctrl-alt-del, start button, etc. there is a really easy way to do it under Win98. (haven't tried out in NT).


    SystemParametersInfo (SPI_SCREENSAVERRUNNING, 1, &nOldVal, 0); //Turns keys off

    SystemParametersInfo (SPI_SCREENSAVERRUNNING, 0, &nOldVal, 0); //Turns keys on

    Hope this will help!
    Santhosh



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured