How to get an ownerdrawn context menu to display properly on a notifyicon...

UCM

Centurion
Joined
Jan 1, 2003
Location
Colorado, usa
I an having a bit of trouble getting an ownerdrawn context menu ( such as Divils widget control ) to pop up when the user right-clicks a notifyicon in the system tray...

I tried adding a notifyicon to Divils widget example, however, it wouldnt show any menu text nor icons when right clicked...

BTW, for those of you that may be new to Extreme .NET Forums, Divil ingeniusly created several tools that help VB.NET developers create better professional OOPs:

Checkem out:
Divils .NET Tools
 

divil

Ultimate Contributor
Joined
Nov 17, 2002
Location
England
User Rank
*Guru*
I can only guess that Windows doesnt support ownerdrawing of context menus displayed in this way.
 

UCM

Centurion
Joined
Jan 1, 2003
Location
Colorado, usa
D@mn!....

After much research, I am in agreement with you :(

owell, then its normal menu on notifyicon and Divil menu on everything else >-)
 

UCM

Centurion
Joined
Jan 1, 2003
Location
Colorado, usa
* Raises eyebrow *

I have MS Office installed ( word xp in particular ) and everytime I copy something, it gets added to the office clipboard...

Any ways, if I right click on the office clipboard icon in the system tray then it brings up a menu with icons and appearance just like DotNetWidgets...

Now Im convinced theres a way... only thing is, how do we achieve it?
 
Top