CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: CListCtrl

  1. #1
    Join Date
    Apr 1999
    Posts
    4

    CListCtrl

    How can multiple selection in a ClistCtrl ( Report view ) be made to work like that in CListBox without using the CTRL key? The problem I want to guard against is losing all the current selection by forgetting to press this key!


  2. #2
    Join Date
    May 1999
    Location
    Sydney, Australia
    Posts
    420

    Re: CListCtrl

    Override PreTranslateMessage() and handle the case yourself

    Sally


  3. #3
    Join Date
    Apr 1999
    Posts
    383

    Re: CListCtrl

    Bear in mind that the use of the Ctrl key for multiple selection is standard Windows interface behaviour. In general, it is wise to stick to standard interface behaviour unless the situation is an unusual one where standard behaviour may not be expected.

    Dave


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