Solved

Using CheckListBox

Posted on 1997-07-22
1
292 Views
Last Modified: 2013-11-20
How can I add CheckListBox to dialog, which is created with Dialog Editor ?
0
Comment
Question by:arip
1 Comment
 
LVL 1

Accepted Solution

by:
belov earned 100 total points
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

728 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

8 Experts available now in Live!

Get 1:1 Help Now