Solved

Table

Posted on 1998-07-22
7
153 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

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: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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…

831 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