Click to See Complete Forum and Search --> : multiple selection in a list box


Katarina
August 20th, 1999, 09:31 AM
I want to do multiple selection in a list box by selecting ctrl+shift+up/down keys. As it is now it is only possible to select two items in that way. Do you know the solution for this problem?

Rail Jon Rogut
August 20th, 1999, 03:06 PM
In the Resource Editor, have you set the ListBox Selection style to Extended (not Multiple)?

Rail

------------
Recording Engineer/Software Developer
Rail Jon Rogut Software
http://home.earthlink.net/~railro/
railro@earthlink.net

Katarina
August 23rd, 1999, 08:14 AM
Yes, the ListBox Selection style is set to Extended. I think that there might be some other settings that are wrong or I might have to overwrite the MFC function if I want it to work as I want.
Thank you for the respond.
// Katarina

Rail Jon Rogut
August 23rd, 1999, 12:55 PM
When I've implemented this functionality, I've never had to do anything special... so I'd be curious to look at the source code of your CDialog derived class and the rc file -- feel free to email me.

Best regards.

Rail

------------
Recording Engineer/Software Developer
Rail Jon Rogut Software
http://home.earthlink.net/~railro/
railro@earthlink.net