Select Multiple Items Functionally Without Pressing the CTRL or SHIFT Key in a List View Control


Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js


A list control, with the report style, needs to select muliple item without pressing the CTRL or SHIFT key in the following instances:

  • Especially for a touch screen application or PocketPC.
  • There is a need not use two ways: select and checkbox.

The code for this article was written on Windows 2000 Professional with Microsoft Visual C++ 6. I have tested the and used the same in my work.


The developer who needs to use a list control as described above just has to include the following files in the project:

  • NoKeyMultiListCtrl.cpp
  • NoKeyMultiListCtrl.h

The developer will need to create a list control resource and associate a control member variable with the same. Then, the CListCtrl type will have to be modified to CNoKeyMultiListCtrl.



  • GetSelectedCount

    Posted by toofani on 02/03/2006 05:50am

    After multiple selection, GetSelectedCount() always returns 1. Whats the fix? Regards,

  • Thanks a lot

    Posted by toofani on 01/28/2006 02:45am

    Your code really saved my life. Thanks a lot :)

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • As all sorts of data becomes available for storage, analysis and retrieval - so called 'Big Data' - there are potentially huge benefits, but equally huge challenges...
  • The agile organization needs knowledge to act on, quickly and effectively. Though many organizations are clamouring for "Big Data", not nearly as many know what to do with it...
  • Cloud-based integration solutions can be confusing. Adding to the confusion are the multiple ways IT departments can deliver such integration...

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date