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

Using CheckListBox

Posted on 1997-07-22
1
294 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
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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. …
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.

860 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