开发者

Opening program via keyboard binding from systray C#

开发者 https://www.devze.com 2023-03-07 07:01 出处:网络
Working on a end of the year project for school and chose to create a password generator that stores themlocally and encrypted. I have everything working for the most part and just adding some little

Working on a end of the year project for school and chose to create a password generator that stores them locally and encrypted. I have everything working for the most part and just adding some little touches in the end. Pretty much right now I have it where you minimize it stores in the windows 7 systray/notification dock and then you can right click开发者_开发百科 and have a menu and such. I was wondering on how I could have it where you hit a certain key combination anywhere on windows and have the program become visible and un minimize. I have looked around the web and couldn't really find a solution. Any help is appreciated thanks.


You should search for "global keyboard hook" in google, there is lots od examples. http://www.codeproject.com/KB/cs/globalhook.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消