<!-- Article Starts -->
After pushing the
CListCtrl to its limits in trying to display
and edit tabulated data I decided what was really needed was a dedicated grid
control. I started writing my own grid control from scratch but decided to save
time by modifying Joe Willcoxson's free WorldCom grid control.
I tore apert his code and rebuilt it from the ground up in order to get it to do
all the things I needed. The code has gone through so many modifications that
I'm not sure if there is even a single original line of code. In any case Joe's
code was a great framework on which to build.
Since the initial release at the beginning of 1998 there have been many, many
versions of the grid - some better than others. There have also been ports to CE,
an ATL version, and extensions that include a tree-list control.
The list of all those who have contributed and provided fixes, bug reports and
suggestions is too huge to mention - thanks everyone!
The Grid Control articles and projects
MFC Grid control - Chris Maunder
A fully featured grid control for displaying tabular data that is derived from CWnd
Plug-in cell types
Tree control and Buttons for MFC Grid control - Ken Bertelson
A set of classes derived from CGridCtrl that embed a tree control, button controls, and virtual cells within the grid
Using comboboxes in the MFC Grid Control - Chris Maunder
Explains how to use comboboxes to edit cells in the MFC Grid Control
Adding Hyperlink support to the MFC Grid Control - Fred Ackers and Chris Maunder
A new class that adds hyperlink support to the MFC Grid Control
Using the Grid
Using the Grid Control in a Doc/View framework - Chris Maunder
A simple tutorial that demonstrates how to use the grid control in a doc/view application.
ATL Grid control - Mario Zucca
A grid control for displaying tabular data, based on Chris Maunder's grid control
Chris is the Co-founder, Administrator, Architect, Chief Editor and Shameless Hack who wrote and runs The Code Project. He's been programming since 1988 while pretending to be, in various guises, an astrophysicist, mathematician, physicist, hydrologist, geomorphologist, defence intelligence researcher and then, when all that got a bit rough on the nerves, a web developer. He is a Microsoft Visual C++ MVP both globally and for Canada locally.
His programming experience includes C/C++, C#, SQL, MFC, ASP, ASP.NET, and far, far too much FORTRAN. He has worked on PocketPCs, AIX mainframes, Sun workstations, and a CRAY YMP C90 behemoth but finds notebooks take up less desk space.
He dodges, he weaves, and he never gets enough sleep. He is kind to small animals.
Chris was born and bred in Australia but splits his time between Toronto and Melbourne, depending on the weather. For relaxation he is into road cycling, snowboarding, rock climbing, and storm chasing.