Solved

List boxes with check boxes

Posted on 1998-11-26
4
160 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
  • 2
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
cyrilbdt earned 70 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do you programatically show and hide the Windows 10 On-Screen-Keyboard? 3 517
Hibernate methods 2 67
firstChar challenge 13 106
Problem to open Excel file 15 89
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

939 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

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now