curItemNo doesn't seem to change
Posted: Thu May 03, 2007 6:01 am
Should the curItemNo property be incremented every time an object is inserted?
e.g. if a loop had the contents
Shouldn't CurItemNo grow?
My problem is that CurItemNo remains fixed at 0 no matter how many times the loop is executed. ItemCount remains fixed at 1 in a similar manner.
I need to accurately store CurItemNo before each InsertBullet so that I can call SetBulletInfoEd with the proper ItemNo.
I'm obviously missing something here.[/code]
e.g. if a loop had the contents
Code: Select all
RichViewEdit1->CurItemNo;
RichViewEdit1->InsertBullet(0,imageList);
My problem is that CurItemNo remains fixed at 0 no matter how many times the loop is executed. ItemCount remains fixed at 1 in a similar manner.
I need to accurately store CurItemNo before each InsertBullet so that I can call SetBulletInfoEd with the proper ItemNo.
I'm obviously missing something here.[/code]