From: John L. <jla...@gm...> - 2012-02-21 09:43:06
|
On Tue, Feb 21, 2012 at 3:44 AM, Milind Gupta <mil...@gm...> wrote: > After digging a bit deeper I find that the items are added to the control > since subsequent calls to InsertItem does detect them but they are not > visible in the GUI. I tried setting the text foreground color also to black Do you call Freeze() on it before adding the items and forget to call Thaw()? I see that you are skipping every other item since you call GetNextItem() twice, but only check the value of it once and more dangerously, don't check that you haven't fallen off the end of the list after the second call. You could simply just add a few items where you know they'll be and see if that works. Regards, John |