468,268 Members | 1,701 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,268 developers. It's quick & easy.

How to get keypresses from the system when my program does not have focus?

I'm working on a .NET C++ project. The program loads and creates a
tray icon, but is not visible on the screen. So what I'm looking for
is a way to detect when a specific key combination is pressed to
control when the program is brought to the screen. Anyone have a good
solution for doing this??

May 10 '06 #1
1 1040
See if the following is helpful
http://www.codeproject.com/cs/miscct...plehotkeys.asp
Simple steps to enable Hotkey and ShortcutInput user control

"TheRain" <co**********@gmail.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
I'm working on a .NET C++ project. The program loads and creates a
tray icon, but is not visible on the screen. So what I'm looking for
is a way to detect when a specific key combination is pressed to
control when the program is brought to the screen. Anyone have a good
solution for doing this??

May 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Alex | last post: by
7 posts views Thread by kstahl | last post: by
4 posts views Thread by Dean Bortell | last post: by
9 posts views Thread by robert_rowe | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.