Solved

Table

Posted on 1998-07-22
7
159 Views
Last Modified: 2013-11-20
How do you draw a table in a client space and how to update the contents of the table?Is there a table command or it has to be drawn using the line to that is present?
0
Comment
Question by:sram
  • 4
  • 3
7 Comments
 
LVL 8

Accepted Solution

by:
trestan earned 50 total points
ID: 1319619
I think the easiest way is to use CListCtrl which can display and edit tabulated data. For more information:
http://www.codeguru.com/controls/gridctrl.shtml
0
 

Author Comment

by:sram
ID: 1319620
The examples that I have seen using ClistCntrl talks about dialog boxes how do you draw tables  in the client space.?
0
 
LVL 8

Expert Comment

by:trestan
ID: 1319621
This intruduction gives information about use it in view.
http://www.codeguru.com/controls/gridctrl_in_view.shtml
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:sram
ID: 1319622
The examples that I have seen using ClistCntrl talks about dialog boxes how do you draw tables  in the client space.?
0
 
LVL 8

Expert Comment

by:trestan
ID: 1319623
The second example I gave you is to use it in a View. Your client space is not a View? How did you create it? Or you want to let your client to make a table by themself? I think you can modify the codes to read input of row and column numbers from interface and generate the table programaticly. Have you read the codes?
0
 

Author Comment

by:sram
ID: 1319624
No I make the table and as and when data is processed it will be placed in the table.I have right now used the moveto and lineto functions to draw the table. I need to draw a barchart how to do that.
 
0
 
LVL 8

Expert Comment

by:trestan
ID: 1319625
If you use CDC, then you can not change the format freely afterwards. Why not use the readily available tools? It is prefered to use the existing resources rather than do every thing by you own. For the charts, I suggest you have a look at the following sites.
http://www.dpc-tech.com/
http://www.stingsoft.com/ocmfc/default.asp
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
repeatSeparator  java  challenge 13 58
Sed question 2 123
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 1,311
"Black Box" Testing of Control System Software 2 96
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 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