Quote Originally Posted by maxer View Post
2Kuad thanks for ur reply ... the resToken in the displaytext() i forgot to remove it let it b unused. And i hav stopped calling InsertItem function every time ratrher i have put that piece of code in OnInitialUpdate function but still i face the same prob i have incremented the nItem using this am i right here
Code:
int nItem;
	nItem = ctlRightView.InsertItem(0,  league);
	nItem++;
How many time else it should be repeated until you uderstand that you just overwrite your previous text because you set your new text in the same place: in the first column of the first row of your listview!
If you just moved this code into OnInitialUpdate that it would executed only once and nothing could be updated!

Now eplain, please, what you mean by "i have incremented the nItem using this"? What for haveyou incremented the nItem if you then do NOT use it at all?