Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 185
  • Last Modified:

Table

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
sram
Asked:
sram
  • 4
  • 3
1 Solution
 
trestanCommented:
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
 
sramAuthor Commented:
The examples that I have seen using ClistCntrl talks about dialog boxes how do you draw tables  in the client space.?
0
 
trestanCommented:
This intruduction gives information about use it in view.
http://www.codeguru.com/controls/gridctrl_in_view.shtml
0
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.

 
sramAuthor Commented:
The examples that I have seen using ClistCntrl talks about dialog boxes how do you draw tables  in the client space.?
0
 
trestanCommented:
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
 
sramAuthor Commented:
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
 
trestanCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now