Results 1 to 5 of 5

Thread: Alt keydown ?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2011
    Posts
    467

    Alt keydown ?

    Hi, what i need is if the ALT key is pressed to ignore it.

    Like for example if you hit Ctrl+Alt+Del it opens the taskmgr.

    So all i need is for when the form is open if you hit Ctrl+Alt+Del the Alt key wont work so then nothing happens.

    Well either the Alt or Ctrl key

    Thanks for any help

  2. #2

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2011
    Posts
    467

    Re: Alt keydown ?

    Quote Originally Posted by cicatrix View Post
    CTRL+ALT+DEL is a low-level system hook with expected system response. I see no honest reason to block it, really.
    It needs blocking as i am coding a simple screen locker.

    I already have a timer running so when or if the task manager is opened it will close it.

    But the problem is CTRL+ALT+DEL function :/

    Thanks
    System[X]

  4. #4
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: Alt keydown ?

    Sounds like you are trying to create a kind of Kiosk app, which should help with your search.

  5. #5
    PowerPoster cicatrix's Avatar
    Join Date
    Dec 2009
    Location
    Moscow, Russia
    Posts
    3,654

    Re: Alt keydown ?

    Quote Originally Posted by SystemX View Post
    It needs blocking as i am coding a simple screen locker.

    I already have a timer running so when or if the task manager is opened it will close it.

    But the problem is CTRL+ALT+DEL function :/

    Thanks
    System[X]
    Look, you'll need a kernel-mode driver to disable C-A-D. Even then, I still think that disabling C-A-D represents a serious problem to users if you will distribute your application among third party users.
    Screen locking is performed by windows itself (if you configure it to do so), and similarly, you can create a simple screen saver with password protection.
    If your application is supposed to run at your work in a controlled environment, restiction of user permissions is done by system administrators using the standard Windows administrative tools.

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