Drag on NotifyIcon to a tray in C #

I am trying to create a C # application that runs in a tray where I can drop files on this icon. Is there a way to get the path to a file that has been reset to the System Tray icon? System.Windows.Forms.NotifyIcon has no drag and drop events.

+5
source share
3 answers

it is impossible to do it, in a simple way. You can show a fictitious form if the cursor is in a special area next to the notification. The dummy form can get the path to the file with the dropped file.

+8
source

He has an example, but it is not fully written in C ++ :(

DragnDropOnTrayIcon

+1

. Fluffy App . Spifftastic, . , , , .

+1

All Articles