Solved

Using CheckListBox

Posted on 1997-07-22
1
297 Views
Last Modified: 2013-11-20
How can I add CheckListBox to dialog, which is created with Dialog Editor ?
0
Comment
Question by:arip
[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
1 Comment
 
LVL 1

Accepted Solution

by:
belov earned 100 total points
ID: 1302751
You should place ownerdraw listbox in
resource, add CCheckListBox object
in your dialog class, and call
CCheckListBox::SubclassDlgItem(id, this)
in CYourDialog::InitDialog() method.

MFC implementation of CCheckListBox
provides DrawItem which draws check boxes
in listbox lines. You will have you override it
if you need more functionality if default
MFC implementation does.

0

Featured Post

Industry Leaders: 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: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

630 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