Is OwnerDraw possible with NotifyIcon

  • Thread starter Thread starter jm
  • Start date Start date
J

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.
 
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.
 
Back
Top