Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to activate apps,..
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00720239
Message ID:
00726435
Views:
11
Hi Dennis,

This link allows you to set a system-wide hotkey. It's a wrapper around APIs.

http://www.gotdotnet.com/userarea/keywordsrch.aspx?keyword=hotkey


>Hi Cathi
>
>Thanks for your answer, however it's not quite what i'm looking for, I want ctrl+F1 to activate my own program, even when some other program has fucus,.. You know like it's posible to open Explorer using Win+e.
>
>However I need my program to perform some opperations and then start a browser, therefore I belive my program must be open when ctrl+F1 is pressed (to save time), so I have made my program only visible by a Notificon.
>
>This is what I want to happen.
>
>1) At windows startup my program opens and is visible in the notification area.
>2) The user opens different applications, one is a Word document.
>3) Then the user presses ctrl+F1, to activate my program while the word document got focus.
>
>Ok so here is my problems,..
>1) How do I activate my program when it dosn't have focus?
>2) How can I find out what other application has focus when ctr+F1 is pressed?
>
>
>I hope u can help, thanks again
>
>Dennis Krag
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Reply
Map
View

Click here to load this message in the networking platform