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

Introduction

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.

Features

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.



Downloads

Comments

  • cheap montblanc pens

    Posted by gogohpc on 05/14/2013 04:00pm

    It has taken me a long time to track down your site. Finally. This is just the information I was after. oakley uk cheap montblanc pens oakley sunglasses

    Reply
  • nike shoes can provide spanking new life span to a old challenge- defacto standard

    Posted by expopmerm on 03/18/2013 07:22pm

    Concise document discloses the indeniable details on nike shoes and also how it may may affect your corporation.|A quick post aids you with some of the details on nike shoes as well as the actions one should do right now.}[url=http://www.nikejapan.asia/]ナイキ エア[/url] The Root Key For nike shoes [url=http://www.adidasjapan.biz/]アディダス スニーカー[/url] What you havent read about nike shoes is likely to be costing even more than you may think. Development- gucci Can Have A Major role In Virtually Any Management [url=http://www.guccijp.asia/]gucci バッグ[/url] Creative chloe bags Book Explains How To Rule The chloe bags Scene [url=http://www.chloejp.biz/]chloe 財布[/url] The Amazing chanel bags Trick Which Is Able To Fool Almost all [url=http://www.chaneljp.biz/]財布 chanel[/url] Strategies to discover anything there is to find out surrounding chanel purse in Seven quick steps.A Dude who sold his adidas shoes script for 1 million [url=http://www.adidasjapan.asia/]adidas シューズ[/url] Something everybody else does when dealing with nike shoes and the things you will need to complete different. [url=http://www.nikejp.biz/]nike スニーカー[/url] What the specialists won't be revealing about nike shoes as well as how it can affect you actually.

    Reply
  • GetSelectedCount

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

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

    Reply
  • Thanks a lot

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

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

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

Top White Papers and Webcasts

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

  • Live Event Date: August 20, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT When you look at natural user interfaces as a developer, it isn't just fun and games. There are some very serious, real-world usage models of how things can help make the world a better place – things like Intel® RealSense™ technology. Check out this upcoming eSeminar and join the panel of experts, both from inside and outside of Intel, as they discuss how natural user interfaces will likely be getting adopted in a wide variety …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds