471,046 Members | 1,223 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,046 software developers and data experts.

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 1096
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.