05-06-2010 01:34 PM
I'm modifying a list control by using ClearListCtrl (panel,controlID) followed by a number of InsertListItem(panel, controlID,-1,<string>,<integer value>). All of the inserted items appear in the list, and I am able to select any item. However, no matter what item is selected, GetCtrlIndex() always returns a value of 0, and GetCtrlVal() returns the value of the first item in the list. Any idea what could be wrong?
Thanks
Ray
Solved! Go to Solution.
05-06-2010 02:08 PM
Oops. My mistake. Theres a goof in my code.