Solved

Table

Posted on 1998-07-22
7
155 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
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.

 

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
repeatEnd java challenge 42 85
sum67 challenge 35 107
matchUp  challenge 6 68
wordmultiple challenge 12 140
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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

789 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