The following sections contain tutorials that illustrate some of the main features in the VSFlexGrid control. The tutorials walk you through the creation of several simple projects, describing each step in detail. After walking through the tutorials, you should be able to start programming the VSFlexGrid grid on your own.
The tutorials are:
Starting with a basic data-entry grid, this tutorial shows how to implement data formatting, check boxes, drop-down lists, input masks, data validation, and clipboard support.
Shows how you can use the VSFlexGrid as an outliner to display structured (or hierarchical) data.
Starting with a grid containing sales data for different products, regions, and salespeople, this tutorial show how to implement dynamic layout (column order), automatic sorting, cell merging, automatic subtotals, and outlining.
This tutorial shows how to use the Cell property to format individual cells. The demo uses flooding to create a display combining numbers and bars.
This tutorial shows how you can implement tooltips with different text for each cell.
This tutorial shows how you can print a grid with control over page breaks "header" rows which appear at the top of every page.
This tutorial shows how to implement automatic and manual OLE drag and drop.
This tutorial contains another version of the Outline Demo written in Visual C++ using the MFC application framework.
The distribution CD contains more sophisticated samples that can be used as a reference.