Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002
    Posts
    6

    Detect keystroke when not on focus

    I'am working on a program in which I can switch to a Powerpoint presentation.
    If Powerpoint is fullscreen, I can't detect keystrokes because PP is in focus.
    So, is there a clever way to switch back to my program without using the Alt tab key?
    I tried "System.IsKeyDown" but it seems only to work when the page is in focus.
    Thanks in advance

    Jan van Eyk
    The Netherlands

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    your on the right track, use "System.IsKeyDown" from the page timer, although the page does not have focus the timer is still running in the background

    if you have a multipage project then use retesets global timer plugin to have this function available across the whole application
    Open your eyes to Narcissism, Don't let her destroy your life!!

Posting Permissions

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