Solved

Table

Posted on 1998-07-22
7
167 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
[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
  • 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 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