Hello,
i want to get a list widget with 11 entries.
If i got 11 elements at list and put a new one into it i want delete the oldest element at list.
How could i realize that?
Actual i got a PtList and put all elements on top of list
Code:
PtListAddItems(ABW_PtList_Output, (const char**)&pstr, 1, 1);
If i got more than 11 elements at list i delete one
Code:
PtListDeleteItemPos(ABW_PtList_Output, 1, item_num);
But the Problem is that the window and cursor is jittering all the time.
What could is do, any hints?
Thanks,
Robert
Code:
|