Running in back until summoned.

This is a discussion on Running in back until summoned. within the Windows Programming forums, part of the Platform Specific Boards category; This has got to be a stupid question, but here's what I'm doing. A parent process gives control to a ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    375

    Running in back until summoned.

    This has got to be a stupid question, but here's what I'm doing. A parent process gives control to a child process and minimises itself. As the child process runs (which is not limited to programs I have any control over) I want the parent process to look out for, say, the F12 key. Gotta be easy but I'm a tad lost.. help please.

    Just to clarify, the part I'm stuck on is the minimized application being able to intercept F12 and react even though the focus is on some other program.

    Thanks.
    -Justin
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    use the board search for "key logger" or "keyboard hook"

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Also, if you want to maximise - send your window a WM_SYSCOMMAND message and set wParam to SC_MINIMIZE

  4. #4
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    Thanks for the direction.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Check number of times a process is running
    By linuxwolf in forum Windows Programming
    Replies: 6
    Last Post: 10-17-2008, 12:08 PM
  2. Monitor a running instance of MS Word
    By BobS0327 in forum C# Programming
    Replies: 0
    Last Post: 07-18-2008, 01:40 PM
  3. Replies: 2
    Last Post: 05-12-2006, 11:28 AM
  4. multithreading question
    By ichijoji in forum C++ Programming
    Replies: 7
    Last Post: 04-12-2005, 11:59 PM
  5. Some woman back ended my car today, and back hurts
    By Terrance in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 08-20-2003, 01:42 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21