Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to create a control that shows two columns of data

Posted on 2004-08-11
2
Medium Priority
?
178 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 200 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

916 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