views:

49

answers:

2

Is it possible to drag and drop (files, text) to the taskbar icon of a WindowsForms application (C#)?

I know there's no easy way to do it for the tray icon (it involves using Win32 API and hooks), but I was wondering if it's possible for the taskbar.

+3  A: 

That's not possible, but the window manager automatically restores the minimized window if you hover over it long enough in the taskbar. Once restored, you can access all the drop targets your window implements.

Frédéric Hamidi
+1  A: 

This is fundamentally impossible.

SLaks