473,413 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Drawing tables / rendering data with GDI+

Hello all,

Haven't been here in a while but undertaking a project where i'm
branching out the
(presumingly abandoned) open-source OpenHTPC (www.openhtpc.org) with
additional Personal Video Recorder functionality to it - meaning
recording from TV / browsing TV listings etc.

Am just working on rendering the XML TV Listings using GDI+. I already
have the TV listings downloaded and contained in individual XML files
for the following seven days... quite nifty! :D

What i'm aiming for is something like the something like the layout of
the GB-PVR TV Guide
(http://www.gbpvr.com/images/screenshots/tvguide.jpg) so anyone got any
good links to information on drawing tables etc in GDI? Or examples /
source code that might be of use?

I'm sure Bob Powell (who helped me enormously last year) could probably
point me in the direction.

Much appreciated!

Regards,

Brian

Dec 6 '05 #1
3 2809
Not exactly tables, but this code to draw hierarchies
should give you a good start on methodologies.
http://www.eggheadcafe.com/articles/...h_gdi_plus.asp

--
Robbe Morris - 2004/2005 Microsoft MVP C#
http://robbemorris.blogspot.com

<br************@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Hello all,

Haven't been here in a while but undertaking a project where i'm
branching out the
(presumingly abandoned) open-source OpenHTPC (www.openhtpc.org) with
additional Personal Video Recorder functionality to it - meaning
recording from TV / browsing TV listings etc.

Am just working on rendering the XML TV Listings using GDI+. I already
have the TV listings downloaded and contained in individual XML files
for the following seven days... quite nifty! :D

What i'm aiming for is something like the something like the layout of
the GB-PVR TV Guide
(http://www.gbpvr.com/images/screenshots/tvguide.jpg) so anyone got any
good links to information on drawing tables etc in GDI? Or examples /
source code that might be of use?

I'm sure Bob Powell (who helped me enormously last year) could probably
point me in the direction.

Much appreciated!

Regards,

Brian

Dec 6 '05 #2
Cheers for that Robbe.

Quite a nice example alright.

Anyone know if drawing tables is possible in GDI+?

And if so.. can't seem to find many examples on the Web.

Regards,

Brian

Dec 6 '05 #3
Just change that sample from drawing rounded rectangles
to drawing standard ones....

You could then easily keep track of where one
rectangle started and ended in preparation
for drawing subsequent rectangles in a table.

I would think your needs are far more simplistic
than that sample and its drawing of hierarchies.

--
Robbe Morris - 2004/2005 Microsoft MVP C#
http://robbemorris.blogspot.com

<br************@gmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Cheers for that Robbe.

Quite a nice example alright.

Anyone know if drawing tables is possible in GDI+?

And if so.. can't seem to find many examples on the Web.

Regards,

Brian

Dec 6 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Steve Long | last post by:
Hello, (total GDI newbie) I'm having trouble drawing just a simple line to display in a picturebox. I just want a straight, dotdash line. I have two methods, one works and one doesn't (it cause...
6
by: Rene | last post by:
I tried searching the newsgroups to see how do you draw a dotted line but I was unable to find an answer, drawing a straight line is very easy but not a dotted one. So the question is, how do I...
2
by: Sam Martin | last post by:
Hi all, I want to be able to draw wrapped text started at a point x into the rectangle on the first line If there's not a GDI+ method for this, i'm guessing it's a common technique, but can't...
2
by: billy | last post by:
I'm working on a sort of paint program that has the usual canvas pane in the middle of the main form. I'm working on that class and have a couple quick questions.. actually more like I'm looking...
6
by: James dean | last post by:
I have heard that the video drivers in GDI+ are a big performance issue. But is this only an issue with something like Games Programming i think...is this wrong?. What about a drawing application...
3
by: Pete Davis | last post by:
I'm having trouble dealing with bitmaps larger than about 10,000 pixels in either direction. I've tried using DrawImage and DrawImageUnscaled, but both give me out of memory errors. In my...
13
by: Metallicraft | last post by:
I have a vb6 application. On the main form is a picture box with one or two images and several pieces of text displayed in it. These are created on the fly using gdi32 routines that are all in a...
9
by: davetelling | last post by:
I am not a programmer, I'm an engineer trying to make an interface to a product I'm designing. I have used C# to make a form that interrogates the unit via the serial port and receives the data. I...
3
by: =?Utf-8?B?ZGV2ZWxvcHNj?= | last post by:
Hi, can you guide me, which MS technologies are suitable to create drawing application (simple CAD application) on the web - to allow 2D/3D drawing on some canvas and use data stored on server (in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.