By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,453 Members | 3,225 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,453 IT Pros & Developers. It's quick & easy.

Is OwnerDraw possible with NotifyIcon

P: n/a
jm
There are properties for OwnerDraw on ContextMenu items. I know it
can be done with regular menus. I cannot find anyone doing it with
the systray icon contextmenu (notifyicon.) Is it possible to change
fonts, colors, etc. of a context menu item if it is a system tray
contextmenu?

Thank you.
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
jm,

The OwnerDraw property is on the MenuItem class, not the ContextMenu
class. Because of this, you should be able to draw any menu item that you
wish on the context menu that you attach to the notify icon.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"jm" <jo*************@yahoo.com> wrote in message
news:c6**************************@posting.google.c om...
There are properties for OwnerDraw on ContextMenu items. I know it
can be done with regular menus. I cannot find anyone doing it with
the systray icon contextmenu (notifyicon.) Is it possible to change
fonts, colors, etc. of a context menu item if it is a system tray
contextmenu?

Thank you.

Nov 16 '05 #2

P: n/a
j m
According to MS you cannot do it:

http://support.microsoft.com/?id=827043

Any other ideas?

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.