Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

List boxes with check boxes

Posted on 1998-11-26
4
Medium Priority
?
198 Views
Last Modified: 2013-11-20
How do I program a list box with check boxes in each of the items.Where can I get useful info or sample code demonstrating this?
0
Comment
Question by:chezhiyan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
cyrilbdt earned 140 total points
ID: 1325363
see CCheckListBox class. I think that is what you want

0
 

Author Comment

by:chezhiyan
ID: 1325364
cyrilbdt,
  I agree with you,but I don't find a checklistbox in the "controls" listed in the resource editor of VC++6.0. How do I now insert a checklistbox into my dialog box before I proceed to use the CCheckList class?

0
 
LVL 2

Expert Comment

by:cyrilbdt
ID: 1325365
You can also use CListCtrl in editor and then use macors
ListView_SetExtendedListViewStyle() with LVS_EX_CHECKBOXES
0
 

Author Comment

by:chezhiyan
ID: 1325366
cyrilbdt,
  I agree with you,but I don't find a checklistbox in the "controls" listed in the resource editor of VC++6.0. How do I now insert a checklistbox into my dialog box before I proceed to use the CCheckList class?

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question