list_get_selected ( list, out_item, out_num );

will solve the problem that I have.

It will return an item (out_item) and the postion(out_num ) that is currently shown on the list.

To check the with the previous values I can store theprevious values in file and then read it from the filelater to compare

Answers and Comments