PC Review


Reply
Thread Tools Rate Thread

Context Menu for a Notify Icon won't Owner Draw

 
 
liubin
Guest
Posts: n/a
 
      25th Apr 2007
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.


 
Reply With Quote
 
 
 
 
=?Utf-8?B?U2l2YSBN?=
Guest
Posts: n/a
 
      26th Apr 2007
Hello,

Its a known issue. Refer to the MSKB article:
http://support.microsoft.com/Default.aspx?id=827043

"liubin" wrote:

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

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
notify icon/context menu and Windows service =?Utf-8?B?bGQ=?= Microsoft C# .NET 0 19th Jul 2006 08:41 PM
notify icon and context menu not responding =?Utf-8?B?TWlrZSBFYXRvbg==?= Microsoft VB .NET 0 5th Jul 2006 04:55 PM
notify icon and context menu for Windows Service Application =?Utf-8?B?TGFsaXQ=?= Microsoft Dot NET 7 7th Apr 2005 01:31 PM
how can notify icon present its context menu on both left and right button click assaf Microsoft Dot NET Framework 13 13th Nov 2004 01:06 PM
Showing Modal Forms Using Notify Icon Context Menu Problem Alireza Haghshenass Microsoft C# .NET 0 13th Sep 2004 10:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:27 PM.