473,396 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Icon in contextmenu..

Can anyone give me a sample code to add icon to a contextmenu?
Nov 16 '05 #1
2 6118
These might help:

http://www.msjogren.net/dotnet/eng/s...t_iconmenu.asp

http://www.codeproject.com/cs/menu/menuimage.asp

"Chester Ragel" <CR****@Virtusa.com> wrote in message
news:#B**************@TK2MSFTNGP09.phx.gbl...
Can anyone give me a sample code to add icon to a contextmenu?

Nov 16 '05 #2
you have to use MenuItem.OwnerDraw property.
check this article http://www.codeproject.com/vb/net/Vb...erDrawMenu.asp
Av.
http://dotnetjunkies.com/WebLog/avnrao
http://www28.brinkster.com/avdotnet
"Chester Ragel" <CR****@Virtusa.com> wrote in message
news:#B**************@TK2MSFTNGP09.phx.gbl...
Can anyone give me a sample code to add icon to a contextmenu?

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Lalit | last post by:
Hi Friends, I have developed a Windows service. Now i need icon for this service in systray and context menu fo this icon. Can i do this? With regards, Lalit
3
by: Andrew Mueller | last post by:
Hello, I have a C# service that I would like an icon to show in the system tray upon startup. I put a NotifyIcon on the form and changed the properties as follows: Name: ni...
2
by: Mullin Yu | last post by:
hi, how can i add an an icon at the right button taskbar like that for MS-SQL server that i can have two options - Start - Stop which will call the OnStart of my Windows service and OnStop...
1
by: chinimimita.hernandez | last post by:
Does anyone know how windows service work with notifyicon and contextmenu? I was able to run the windows service with notifyicon part but when I inserted the contextmenu command it didn't work....
5
by: Sender | last post by:
In my VB.Net in the Toolbox I have noticed two things: (1) All the controls like Button, TextBox, MainMenu, Checkbox etc. have the same icon in the Toolbox. (That icon is dimmed and is of...
0
by: kapcreations | last post by:
I have a system tray app which gets the status of a windows service, and displays the appropriate icon for the status of the service in the systray. the problem I am having is the icon disapears...
0
by: KrippZ | last post by:
Hello ! Need help on changing a icon in the alt tab list. When I click the notify icon in system tray the alt tab list Icon is the standard form icon, I ´d like to change it but how?
7
by: Brian | last post by:
hello Gentlemen, been trying to get a shell program working where I have a Windows service that also has a Notification icon in the system tray..... I got this idea from microsofts Visual...
5
by: =?Utf-8?B?cHJvZ2dlcg==?= | last post by:
I've written an application that can minimize to the tray and can reappear if you double click on the icon in the tray (ShowInTaskbar is set to false). I've also created a ContextMenuStrip (Visual...
0
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
marktang
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.