Creating a table using VC++

I have created a simple program for one of the applications I'm working on, but what is more important here is the how the program output is represented. The result is basically a grid with nodes numbers such as:

1---2---3
| | |
4---5---6

My program outputs the nodes like:
Node:
1-2-3-4-5-6

I need to represent the grid into an organized fashion like using a table similar to what I have attached (http://www.megaupload.com/?d=26U9F60J). The contents of the rows and columns are going to have different colors depending whether they were triggered or not (decided in my program). I know they might be a way to do this using forms (such as datagridbox) but I found problems in integrating it with my main program and couldn't utilize it. I would prefer an easier solution as I'm newbie and don't know much about APIs

Anybody's help is really appreciated.

Thanks
Topic archived. No new replies allowed.