Multiselect listbox for Compact Framework

I'm developing a VB.NET PPC application using VS2005 Beta 2.  I've noticed that the SelectionMode property (which allows you to specify a single or multiselect listbox) for the listbox control is not available for smart device development.  This seems like a fairly basic property that has been omitted from the Compact Framework.  (By the way, I'm porting this application over from the Palm OS, which has had this capability for many years).

Any idea whether the SelectionMode property for the listbox control will be available in the released version of VS2005   If not, is there a recommended alternative control to allow users to select more than one item in a list

Thanks in advance,
-Amy


Answer this question

Multiselect listbox for Compact Framework

  • cakewho

    There's another option to use ListView with checkboxes instead.
  • Jason Nowicki

    I don't think the situation has changed from NETCF 1.0

    You basically have 4 options:
    1. Buy a 3rd party one
    2. Write your own starting with the ownerdrawlist in SDF from OpenNETCF
    3. PInvoke to change the style (LVS_SINGLESEL)
    4. Use checkboxes instead

    A previous discussion on this topic is here:
    http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_frm/thread/fa81ebaf34e9db41/5e17794bb3e6e033

    Cheers
    Daniel

  • George Stein

    Hey Alex

     AlexY wrote:
    There's another option to use ListView with checkboxes instead.


    That is exactly what my 4th option refers to.

    Cheers
    Daniel

    PS   How is that beanbag by the way ;-)

  • Munjal Patel

    Thanks very much for the information.  I'm very surprised (and disappointed) that this hasn't been implemented natively yet - seems like such an important and useful feature to have been left out.  

    -Amy

  • Scott Frenkiel

    > How is that beanbag by the way ;-)

    Never received it. They might have sent it via Alaska or something :)



  • Multiselect listbox for Compact Framework