473,387 Members | 1,891 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,387 software developers and data experts.

Listbox features (entry color, and enabling a right-click menu)

79
First of all, I'm not even sure that this can be done to a standard list box.

1) Is there a way to change the color of some entries of a list box, but not all? I want to have a few entries in red or blue instead of the default black. Is this possible?

2) Right-clicking almost anything in Windows will bring up a little popup menu.. Can this be implemented in a list box? For example, I want to be able to right-click one of the entries and have a selection of things to do.

I am using VS2005 and C++...

Thanks a lot.
Aug 10 '07 #1
0 1122

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: eltronic | last post by:
here is some code to add right click context menus. in the few apps I've edited sofar, it just works, once you run rCbinder with the root of the gui or bind B3 all present and future widgets will...
5
by: Derek | last post by:
Let's say I have a dynamic list/menu, which gets its values from a database table, for example a list of contact people where the value is an ID number and the label is the name. However, if the...
3
by: Chris | last post by:
I'm able to add a context menu to the right click on a listbox but it does not select the item in the listbox. I would like the context menu before it pops up to select the item that the mouse was...
8
by: Ken Yu | last post by:
Hi, How can i disable "RightClick Menu" in Internet Explorer, when access the frontpage ? tks a lot ! Ken
3
by: Bernie Yaeger | last post by:
How can I change the highlight bar color on a main menu? If I have to use owner draw, can you show me a snippet of code that does this? Thanks for any help. Bernie Yaeger
0
by: Vidula | last post by:
I am using the menu control in ASP.NET using VS2005. I want to change the background color of the dynamic menu when the mouse hovers over that menu item. This works fine when the background color...
5
by: rishabhshrivastava | last post by:
Hi All, I am using a Web Application and I want to customize Right Click Menu as following:- Do Nothing when user does a Right Click. When user select some text and does a Right Click he/she...
1
by: john ciriello | last post by:
Hi, any way to change the default highlight color on a context menu from the ugly yellow? Thanks.
4
pradeepjain
by: pradeepjain | last post by:
i have a menu of 4 items.all text color is white. and when i click a menu link the other menu items text color should change to black! Is it possible to do with css or javascript help is needed for...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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$) { } ...
0
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...
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?
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...

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.