Solved

How to create a control that shows two columns of data

Posted on 2004-08-11
2
168 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
[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
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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

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…
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.
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.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

627 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