Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Using CheckListBox

Posted on 1997-07-22
1
Medium Priority
?
299 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 300 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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.
In this post we will learn different types of Android Layout and some basics of an Android App.
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 video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

722 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