Shortcuts keys and tray icon [closed]
I have two issues that I want to resolve, the first one is a shortcut key for my application and the other is a tray icon.
Here are the details of each point ...
1) I would like to create a shortcut key for my application to minimize/restore, for example: CTRL+ALT+Y
2) I want to create a tray icon for the application to minimize the application to it and I want it visible even when the application is restore, also I want to know how to remove, I can put this as an option in the application.
p/invoke RegisterHotKey()
and the System.Windows.Forms.NotifyIcon class will get you they notification icon.
精彩评论