Context Menu for a Notify Icon won't Owner Draw


L

liubin

I'm trying to create a context menu that pops up upon
right clicking the notify icon of my application. The
menu works great with plain text... no problem.
My problem is that I want to add some sparkle by
displaying a different highlighting scheme for the
individual mouse over events and an icon on each item in
the menu. I can do this, and have successfully done this
in a regular main menu and a context menu that is set to
an item on a form.
However, when the same context menu with the same code
is called by right clicking the notify icon, the items
display as completely blank. The click actions still
work, but the call to my OnDrawItem never kicks in.
Any ideas would be greatly appreciated.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top