Forum Discussion
MichaelP
13 years agoContributor
Actually, the control is a MFC CList Control
I have tried variations of the following with no success:
ListBox = Aliases.dlgResults.listStatus
for (i = 0; i < ListBox.ChildCount; i++)
{
Item = ListBox.ListItem(i);
Log.Message(Item);
}
It doesn't seem to matter if I use wItem, Item, wItemCount, ChildCount, it will always return a blank entry in the log for each item in the list.
I have tried variations of the following with no success:
ListBox = Aliases.dlgResults.listStatus
for (i = 0; i < ListBox.ChildCount; i++)
{
Item = ListBox.ListItem(i);
Log.Message(Item);
}
It doesn't seem to matter if I use wItem, Item, wItemCount, ChildCount, it will always return a blank entry in the log for each item in the list.