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

Does listbox control provide "independent" double selections?

Hi,
I have a odd but a known question about listbox. I know listbox
control can provide multi-select, multi-extendend selections. But i
wonder if this selection type belongs to them or it has another
tecnique.

As you may know, in softwares like Windows Media Player or Winamp
playlist has a listbox and it can be selected in 2 types. First type
refers to player's own selection and second selection type can be done
by user to look for items properties or like that. But they're
independent, i mean, one selection can jump to next item being
independent from another selection.

A good example demonstrates this:
http://img182.imageshack.us/img182/9...pendently8.jpg

In screenshot you'll see that, black selection is player's own
selection has no dependency on second selection(blue).

Shortly, the selection mechanism i want to have is that 2 different-
coloured listboxselections can do what they do independently like in
mediaplayers.

Is there a way to do the same in .NET's listbox or other 3rd party
control?

Thanks,

Onur
Jun 27 '08 #1
4 1427
On 18 abr, 04:29, kimiraikkonen <kimiraikkone...@gmail.comwrote:
Hi,
I have a odd but a known question about listbox. I know listbox
control can provide multi-select, multi-extendend selections. But i
wonder if this selection type belongs to them or it has another
tecnique.

As you may know, in softwares like Windows Media Player or Winamp
playlist has a listbox and it can be selected in 2 types. First type
refers to player's own selection and second selection type can be done
by user to look for items properties or like that. But they're
independent, i mean, one selection can jump to next item being
independent from another selection.

A good example demonstrates this:http://img182.imageshack.us/img182/9...pendently8.jpg

In screenshot you'll see that, black selection is player's own
selection has no dependency on second selection(blue).

Shortly, the selection mechanism i want to have is that 2 different-
coloured listboxselections can do what they do independently like in
mediaplayers.

Is there a way to do the same in .NET's listbox or other 3rd party
control?

Thanks,

Onur
If I get your point correctelly (can't see the image, company proxy),
you could do that by simply styling (coloring) a item with a different
color (like when a song that's beeing played) and let the selection
highlight itself to the user selection.
Don't know exactly how to do this, but I found some examples:

http://www.codeproject.com/KB/combobox/xlistctrl.aspx
http://www.codeproject.com/KB/combobox/quicklist.aspx
http://www.codeproject.com/KB/combob...orlistbox.aspx
and
http://www.c-sharpcorner.com/UploadF...orListBox.aspx

Thiago
Jun 27 '08 #2
On Apr 18, 4:15 pm, Thiago Macedo <thiago.ch...@gmail.comwrote:
On 18 abr, 04:29, kimiraikkonen <kimiraikkone...@gmail.comwrote:
Hi,
I have a odd but a known question about listbox. I know listbox
control can provide multi-select, multi-extendend selections. But i
wonder if this selection type belongs to them or it has another
tecnique.
As you may know, in softwares like Windows Media Player or Winamp
playlist has a listbox and it can be selected in 2 types. First type
refers to player's own selection and second selection type can be done
by user to look for items properties or like that. But they're
independent, i mean, one selection can jump to next item being
independent from another selection.
A good example demonstrates this:http://img182.imageshack.us/img182/9...pendently8.jpg
In screenshot you'll see that, black selection is player's own
selection has no dependency on second selection(blue).
Shortly, the selection mechanism i want to have is that 2 different-
coloured listboxselections can do what they do independently like in
mediaplayers.
Is there a way to do the same in .NET's listbox or other 3rd party
control?
Thanks,
Onur

If I get your point correctelly (can't see the image, company proxy),
you could do that by simply styling (coloring) a item with a different
color (like when a song that's beeing played) and let the selection
highlight itself to the user selection.
Don't know exactly how to do this, but I found some examples:

http://www.codeproject.com/KB/combob...orlistbox.aspx
andhttp://www.c-sharpcorner.com/UploadFile/Alex/DotNETColorListBox112920...

Thiago
Hi,
Thanks for reply, but i'm afraid i'm not looking for colored-
appearance. I just wondered if there's a listbox / listview type like
Windows Media Player's or Winamp's that allows only 2 selection, 1
selection is controlled by application, second one is reserved to user
for free selection.

Looking at screenshot may give more idea about it:
http://img182.imageshack.us/img182/9...pendently8.jpg
Thanks

Onur
Jun 27 '08 #3
On Apr 18, 10:29 am, kimiraikkonen <kimiraikkone...@gmail.comwrote:
Hi,
I have a odd but a known question about listbox. I know listbox
control can provide multi-select, multi-extendend selections. But i
wonder if this selection type belongs to them or it has another
tecnique.

As you may know, in softwares like Windows Media Player or Winamp
playlist has a listbox and it can be selected in 2 types. First type
refers to player's own selection and second selection type can be done
by user to look for items properties or like that. But they'reindependent, i mean, one selection can jump to next item beingindependentfrom another selection.

A good example demonstrates this:http://img182.imageshack.us/img182/9...pendently8.jpg

In screenshot you'll see that, black selection is player's own
selection has no dependency on second selection(blue).

Shortly, the selection mechanism i want to have is that 2 different-
coloured listboxselections can do what they do independently like in
mediaplayers.

Is there a way to do the same in .NET's listbox or other 3rd party
control?

Thanks,

Onur
Is there a known technique or 3rd party listbox/view control for that
issue?
(Two independent listbox selections, selecting one doesn't effect
other one)
Please see screenshot:
http://img182.imageshack.us/img182/9...pendently8.jpg

Thanks!

Onur
Jun 27 '08 #4
On 7 maio, 06:38, kimiraikkonen <kimiraikkone...@gmail.comwrote:
On Apr 18, 10:29 am, kimiraikkonen <kimiraikkone...@gmail.comwrote:
Hi,
I have a odd but a known question about listbox. I know listbox
control can provide multi-select, multi-extendend selections. But i
wonder if this selection type belongs to them or it has another
tecnique.
As you may know, in softwares like Windows Media Player or Winamp
playlist has a listbox and it can be selected in 2 types. First type
refers to player's own selection and second selection type can be done
by user to look for items properties or like that. But they'reindependent, i mean, one selection can jump to next item beingindependentfrom another selection.
A good example demonstrates this:http://img182.imageshack.us/img182/9...pendently8.jpg
In screenshot you'll see that, black selection is player's own
selection has no dependency on second selection(blue).
Shortly, the selection mechanism i want to have is that 2 different-
coloured listboxselections can do what they do independently like in
mediaplayers.
Is there a way to do the same in .NET's listbox or other 3rd party
control?
Thanks,
Onur

Is there a known technique or 3rd party listbox/view control for that
issue?
(Two independent listbox selections, selecting one doesn't effect
other one)
Please see screenshot:http://img182.imageshack.us/img182/9...pendently8.jpg

Thanks!

Onur
Sorry, Onur,

but do you examined the examples that i mentioned? (yes, i know u do)
I think you can do the task with them.
The "Playing music now" (application controled) selection is not other
thing than an colored item, while the user selection is the list
selector itself.
So, in execution time set a color to an item (that will be the app
selection) and store its index/name/item and let the selector of the
listbox for the user, handling the events that you need.

regards,

Thiago
Jun 27 '08 #5

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

Similar topics

9
by: dover | last post by:
For the code, outputfile << *p << endl; Someone suggests: Don't use endl here; it is flushing output stream every time. Use plain '\n'. What's the difference of using "endl" and "\n" above?...
19
by: Mason A. Clark | last post by:
How was I to know that "top" means "top" in MSIE6 ?? I was testing <a name="top"></a> at the top of the page with <a href="#top>go to top</a> at the bottom of the page. It always worked in...
40
by: aku | last post by:
I'm looking for the absolute fastest way to count the nr of bits that are set to "1" in a string. Presumably I then first need the fastest way to do this in a byte. I think this is it, but...
175
by: Ken Brady | last post by:
I'm on a team building some class libraries to be used by many other projects. Some members of our team insist that "All public methods should be virtual" just in case "anything needs to be...
3
by: Giovanni Bassi | last post by:
Hello All, I have a class implementing IList and a global object of this class type. I have two different form objects. One has a ListBox and the other has ComboBox. Both of their datasources...
5
by: Peter Hansen | last post by:
I'm investigating a puzzling problem involving an attempt to generate a constant containing an (IEEE 754) "infinity" value. (I understand that special float values are a "platform-dependent...
18
by: Zytan | last post by:
I want the same function to be run whether you press Enter or double click the listbox. It seems really verbose to write both handlers to both events everytime, even if they both call the same...
3
by: amit2781 | last post by:
I am trying to build the my project on HPUX (HP-UX oscar B.11.11 U 9000/800 741028561 unlimited-user license) which access the Mysql library. But it is giving error as : Error :...
0
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.