开发者

Shortcuts keys and tray icon [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago. 开发者_StackOverflow社区

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜