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 1541
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: 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: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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: 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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |