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

Multiselect listbox for Compact Framework
cakewho
Jason Nowicki
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
That is exactly what my 4th option refers to.
Cheers
Daniel
PS How is that beanbag by the way ;-)
Munjal Patel
-Amy
Scott Frenkiel
Never received it. They might have sent it via Alaska or something :)