Multi select in a list control
Hi All,
I am pretty new to Pocket PC programming. I am trying to use a List control in which I have a number of entries. Right now I am able to select a single entry in the list control. How can I select multiple entries in a list control using the stylus? I have tried this on a LISTBOX. This works but I dont know how to do this in a LISTCONTROL.
Can someone throw some light on the same.
Thanks in advance,
Reshma
[447 byte] By [
resh] at [2007-11-18 17:37:18]

# 1 Re: Multi select in a list control
You may don't pass LVS_SINGLESEL @ CreateWindow (...) or you simply change the property at the dialog editor ...
NoHero at 2007-11-9 13:09:24 >

# 2 Re: Multi select in a list control
Hi,
I tried to change the dialog settings. Basically I unchecked the SingleSelect option in the ListControl and also I tried to use ModifyStyle() API in which I removed LVS_SINGLESEL style. But this doesn't seem to work. I am still not able to select multiple entries at the same time. Also I want the selected entries to be highlited.
Could you please tell me what is missing here.
Thanks in advance,
Reshma
resh at 2007-11-9 13:10:22 >

# 3 Re: Multi select in a list control
maybe you hold ctrl for selecting more items?
without code or a description that is exactlier i cant help you sry
NoHero at 2007-11-9 13:11:24 >

# 4 Re: Multi select in a list control
Hi,
I am trying to modify the example listed under
http://www.codeproject.com/ce/ccelistctrlex.asp#xx719299xx
This example allows single selection in the LISTCONTROL. How can I change this example so that I can select multiple entries
in the listcontrol.
Can you please help me on this. I tried to change the dialog settings as said earlier. But this doesn't seem to work. Is there any code change that I need to make.
Thanks in advance,
Reshma
resh at 2007-11-9 13:12:18 >

# 6 Re: Multi select in a list control
Hi,
Thanks for your time.
I tried this too. But couldn't succeed. Can you please try this once and let me know. I am stuck at this point and don't understand how to proceed.
Thanks in advance,
Reshma
resh at 2007-11-9 13:14:26 >
