NotifyIcon - OwnderDraw Event Workaround needed

  • Thread starter Thread starter Trevor Benedict R
  • Start date Start date
I don't think this bug is present in .Net 2.0. You can consider using that.

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
 
Thanks Himangi. But that is not an option due to corporate IT policies
(funny).

Regards,

Trevor Benedict
 
You've got to be quick as MS are phasing out GotDotNet (and in fact have
phased out most of it already), but Hans Blomme created a NotifyIcon XP
component to add baloon tips in 2003 and uploaded the source code. OwnerDraw
context menus work just fine with that component and it should satisfy your
IT policies since it includes full source code.
http://www.gotdotnet.com/Community/...mpleGuid=D78EC871-8838-46C3-BE25-C9F36B18A8FC

Other than that, you could always create an offscreen form and use
ContextMenu.Show(), as that will pass on the WM_MEASUREITEM and WM_DRAWITEM
messages.
 
Thanks Mick. Let me check it out.

"Mick Doherty"
You've got to be quick as MS are phasing out GotDotNet (and in fact have
phased out most of it already), but Hans Blomme created a NotifyIcon XP
component to add baloon tips in 2003 and uploaded the source code.
OwnerDraw context menus work just fine with that component and it should
satisfy your IT policies since it includes full source code.
http://www.gotdotnet.com/Community/...mpleGuid=D78EC871-8838-46C3-BE25-C9F36B18A8FC

Other than that, you could always create an offscreen form and use
ContextMenu.Show(), as that will pass on the WM_MEASUREITEM and
WM_DRAWITEM messages.
 
Back
Top