CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 1999
    Posts
    2

    multiple selection in a list box

    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?


  2. #2
    Join Date
    May 1999
    Location
    CA, USA
    Posts
    586

    Re: multiple selection in a list box

    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/
    [email protected]

  3. #3
    Join Date
    Aug 1999
    Posts
    2

    Re: multiple selection in a list box

    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


  4. #4
    Join Date
    May 1999
    Location
    CA, USA
    Posts
    586

    Re: multiple selection in a list box

    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/
    [email protected]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured