ListCtrl is a versatile control for displaying collections of text and/or images. The control supports many different display formats, although typically its most often-used display mode is the report mode. Report mode has a visual representation that is very similar to a grid or spreadsheet in that it can have multiple rows and columns with column headings. This recipe shows how to populate and retrieve data from a
ListCtrl that was created in report mode.
ListCtrl takes a little more set up than most basic controls, so we will start by creating a subclass that sets up the columns that we wish ...