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 listboxselectio ns 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 4 1441
On 18 abr, 04:29, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
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 listboxselectio ns 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
On Apr 18, 4:15 pm, Thiago Macedo <thiago.ch...@g mail.comwrote:
On 18 abr, 04:29, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
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 listboxselectio ns 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/DotNETColorList Box112920...
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
On Apr 18, 10:29 am, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
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'reindepend ent, i mean, one selection can jump to next item beingindependen tfrom 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 listboxselectio ns 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
On 7 maio, 06:38, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
On Apr 18, 10:29 am, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
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'reindepend ent, i mean, one selection can jump to next item beingindependen tfrom 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 listboxselectio ns 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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? What's the meaning of
flushing output stream? Isn't that what we want?
Thanks!
|
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 IE so I drew conclusions only to
discover that it worked even with <a name="xtop"></a>
but not in Opera. IE6 understands "top" to mean *the top* !
|
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 welcome any improvements:
i = 0;
if (g && 1) i++;
if (g && 2) i++;
|
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 changed". This is very much against my
instincts. Can anyone offer some solid design guidelines for me?
Thanks in advance....
|
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 are set to this global object.
The problem is that when I select an item in the ListBox the combobox
selecteditem changes to the same item selected in the ListBox. And the
oposite is also true, so when I select an item in the ComboBox my ListBox...
| |
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 accident" etc...)
The issue appears possibly to point to a bug in the Python compiler,
with it producing inconsistent results. I'm using "Python 2.4.2 (#67,
Sep 28 2005, 12:41:11) on win32".
This code sometimes produces a float of 1.0, sometimes...
|
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 function, or
one calls the other.
Isn't there an event for 'ListBox selection selected' that is
automatically called by ALL the standard GUI ways of doing it? C'mon,
this is C#, we aren't supposed to be programming the GUI. There has
to be such...
|
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 : MySQL51/lib/hpux/libmysqld.a(client.o) - shared library must be position independent. Use +z or +Z to recompile.
I am using this option in building:
aCC -Wl,+s,-E,+vnocompatwarnings -z -g0 -b -Wl,-Bsymbolic.
I also tried using the +Z, +z, also added...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |