Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Context Menu for a Notify Icon won't Owner Draw

1 view
Skip to first unread message

David Myers

unread,
Nov 8, 2003, 4:07:05 AM11/8/03
to
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.

(For reference... my code is implemented is a very similar
fashon to what is done in the "101 Examples for VB.NET"
example "Owner Drawn Menus".)

0 new messages