OK, the list ctrl is built using:
char buffer[MAX_STRING];
// Clear the list
ClearListCtrl (gReportPanel, REPORT_REPORT_LIST);
// Insert each line into the report list
for (i = 0; ; i++)
{
o
o
o
// Add it to the list
InsertListItem (gReportPanel, REPORT_REPORT_LIST, -1, buffer, 0);
// If tests are done, terminate loop
if (-----)
break;
}
But after it's been built, I need (in another module) to go through the test results and search for the occurrence of certain strings.