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
Solved

List boxes with check boxes

Posted on 1998-11-26
4
178 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Complete beginner needs help making a cron job 9 125
while loop over for loop 7 115
Line meaning 9 87
unix example issues 18 98
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…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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