471,627 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 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 2651
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Steve Long | last post: by
6 posts views Thread by Rene | last post: by
2 posts views Thread by Sam Martin | last post: by
2 posts views Thread by billy | last post: by
6 posts views Thread by James dean | last post: by
3 posts views Thread by Pete Davis | last post: by
9 posts views Thread by davetelling | last post: by
3 posts views Thread by =?Utf-8?B?ZGV2ZWxvcHNj?= | last post: by
reply views Thread by leo001 | last post: by

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.