Results 1 to 3 of 3

Thread: Escape key [resolved]

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Posts
    399

    Resolved Escape key [resolved]

    How can I have it so if I hit F12 my program stops, regardless of what window has focus. Thank you
    Last edited by bail3yz; Apr 14th, 2006 at 09:15 AM. Reason: resolved

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    Re: Escape key

    You could do something like that with a combination of RegisterHotkey and subclassing. The only problem is that the F12 can not be used, because this key is reserved for debuggers. Any other key will do though.
    You can find more info in this thread
    Frans

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 2005
    Posts
    399

    Re: Escape key

    ty, thats exactly what i was looking for,

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