I implemented owner drawing on the main and context menus of my main form.
It works fine.
There is also a notify icon control that has a context menu. When the icon
is in the status bar, it works perfectly fine when it is double-clicked.
However, when I try to initialize the notify icon's context menu as an
owner-drawn menu, all the text in that menu disappears.
Is owner drawing a notify icon's context menu possible? I saw someone else
having the same problem: http://groups.google.com/groups?selm...280a%40phx.gbl
Any ideas, resources, etc., are greatly appreciated!
Thanks,
Eric 4 1539
Hi,
It is a known bug.
Ken
----------
"Eric" <er**@askthepcpro.com> wrote in message
news:O2*************@TK2MSFTNGP09.phx.gbl... I implemented owner drawing on the main and context menus of my main form. It works fine.
There is also a notify icon control that has a context menu. When the
icon is in the status bar, it works perfectly fine when it is double-clicked. However, when I try to initialize the notify icon's context menu as an owner-drawn menu, all the text in that menu disappears.
Is owner drawing a notify icon's context menu possible? I saw someone
else having the same problem: http://groups.google.com/groups?selm...280a%40phx.gbl Any ideas, resources, etc., are greatly appreciated!
Thanks,
Eric
Hi,
It is a known bug.
Ken
----------
"Eric" <er**@askthepcpro.com> wrote in message
news:O2*************@TK2MSFTNGP09.phx.gbl... I implemented owner drawing on the main and context menus of my main form. It works fine.
There is also a notify icon control that has a context menu. When the
icon is in the status bar, it works perfectly fine when it is double-clicked. However, when I try to initialize the notify icon's context menu as an owner-drawn menu, all the text in that menu disappears.
Is owner drawing a notify icon's context menu possible? I saw someone
else having the same problem: http://groups.google.com/groups?selm...280a%40phx.gbl Any ideas, resources, etc., are greatly appreciated!
Thanks,
Eric
You can have a context menu on a notify icon and it will work fine. What
you can't have is an owner drawn context menu because NotifyIcon doesn't
pass the DrawItem or MeasureItem events to the ContextMenu.
See KB #827043.
Dale
"Eric" <er**@askthepcpro.com> wrote in message
news:O2*************@TK2MSFTNGP09.phx.gbl... I implemented owner drawing on the main and context menus of my main form. It works fine.
There is also a notify icon control that has a context menu. When the
icon is in the status bar, it works perfectly fine when it is double-clicked. However, when I try to initialize the notify icon's context menu as an owner-drawn menu, all the text in that menu disappears.
Is owner drawing a notify icon's context menu possible? I saw someone
else having the same problem: http://groups.google.com/groups?selm...280a%40phx.gbl Any ideas, resources, etc., are greatly appreciated!
Thanks,
Eric
You can have a context menu on a notify icon and it will work fine. What
you can't have is an owner drawn context menu because NotifyIcon doesn't
pass the DrawItem or MeasureItem events to the ContextMenu.
See KB #827043.
Dale
"Eric" <er**@askthepcpro.com> wrote in message
news:O2*************@TK2MSFTNGP09.phx.gbl... I implemented owner drawing on the main and context menus of my main form. It works fine.
There is also a notify icon control that has a context menu. When the
icon is in the status bar, it works perfectly fine when it is double-clicked. However, when I try to initialize the notify icon's context menu as an owner-drawn menu, all the text in that menu disappears.
Is owner drawing a notify icon's context menu possible? I saw someone
else having the same problem: http://groups.google.com/groups?selm...280a%40phx.gbl Any ideas, resources, etc., are greatly appreciated!
Thanks,
Eric
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Rob Mayo |
last post by:
OK, maybe this is my opinion, maybe these are bugs.
Given the folowing:
I have a NotifyIcon on my Form, a Context menu associated with the
NotifyIcon, and a MenuItem on the ContextMenu set as...
|
by: James |
last post by:
Is there a way to Owner drawn tray context menu ? - I know that there is a
bug with the custom drawing of a context menu assigned to a tray icon - but
I was hoping someone could advise me as to how...
|
by: A |
last post by:
I know it doesn't work. But I'm really trying to figure out is when it might
work. Does anyone from MSFT know? or perhaps anyone else in the ng know?
I have an application that is entirely run...
|
by: Eric |
last post by:
I implemented owner drawing on the main and context menus of my main form.
It works fine.
There is also a notify icon control that has a context menu. When the icon
is in the status bar, it...
|
by: Derrick |
last post by:
I've been working on an application which has a NotifyIcon (system tray
icon), and a corresponding ContextMenu. I want to be able to update this
menu dynamically. However, when I make changes to...
|
by: Andrew Baker |
last post by:
Have a look at the code below. It's a really simple example where I
have added two controls to a form, a textbox and a combo box. Both add
owner drawn context menus to the controls, but the...
|
by: stillcoding |
last post by:
Hi
I have a problem with memory usage increasing when I right click to display the context menu on a notifyIcon
OS: Windows XP Professional SP2
Software: VS2005 Professional edition SP1
The...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |