Skip to content

Is it possible to handle double clicked event in a console program? #51

Answered by HavenDV
JasonWei512 asked this question in Q&A
Discussion options

You must be logged in to vote

At the moment there is no easy way, you can do this:

TrayIcon.MessageWindow.MouseEventReceived += OnMouseEvent;

OnMouseEvent:
https://github.com/HavenDV/H.NotifyIcon/blob/master/src/libs/H.NotifyIcon.Shared/TaskbarIcon.MouseEvents.cs#L68-L116

I will also accept PR if you add the events you want to the TrayIcon class directly

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JasonWei512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants