Groups | Blog | Home
all groups > vb.net controls > june 2006 >

vb.net controls : AllowDrop on NotifyIcon



scottp
6/8/2006 5:00:36 AM
Hi,

Does anyone know of a way to have AllowDrop on a NotifyIcon so that I
can drop 'things' onto the notifyicon for my application and have then
actioned upon?

Thanks
GhostInAK
6/8/2006 11:07:38 PM
Hello scottp,

A notifyicon requires an associated window handle (Ah, good ol Win32 *whuggles*)

So.. find the associated window handle for your notifyicon and subclass the
window. Or.. create your own notifyicon using the Win32 API and you wont
have to hunt for a window handle.

-Boo

[quoted text, click to view]

AddThis Social Bookmark Button