Does listbox control provide "independent" double selections?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kimiraikkonen

    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:


    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
  • Thiago Macedo

    #2
    Re: Does listbox control provide "independe nt" double selections?

    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:




    and
    .Net ListBox control itself works fine, however as a base class for further derivation it is fundamentally flawed. The root of evil is in the Windows API ListBox. .Net ListBox is just a wrapper for this control.


    Thiago

    Comment

    • kimiraikkonen

      #3
      Re: Does listbox control provide &quot;independe nt&quot; double selections?

      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.
      >>
      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:
      >

      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:



      Thanks

      Onur

      Comment

      • kimiraikkonen

        #4
        Re: Does listbox control provide &quot;independe nt&quot; double selections?

        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:


        Thanks!

        Onur

        Comment

        • Thiago Macedo

          #5
          Re: Does listbox control provide &quot;independe nt&quot; double selections?

          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.
          >>
          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

          Comment

          Working...