Solved

How to create a control that shows two columns of data

Posted on 2004-08-11
2
159 Views
Last Modified: 2013-11-20
Hello,

I'm trying to create a control on a dialog that has two columns: the left column shows the names of some parameters, and the right column shows the parameters' correspoding values, such as:

            values
---------------------------------
param1          aaa
param2          bbbb
.......
paramn          nnnnnn

Also, I need to be able to edit the right column (e.g., to change value aaa to ccc). Are there classes in MFC for implementing it?
 
Thanks for any help.
0
Comment
Question by:minjiezen
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 50 total points
ID: 11779081
You can use a CListCtrl woking in "Report" mode, similar to Detailed View of Windows Explorer, but you can edit only the first column. To edit second column look lots of examples in www.codeproject.com about this:
http://www.codeproject.com/listctrl/
0
 

Author Comment

by:minjiezen
ID: 11783390
Thank you very much!
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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.

813 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

18 Experts available now in Live!

Get 1:1 Help Now