Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

List boxes with check boxes

Posted on 1998-11-26
4
Medium Priority
?
204 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 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

824 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