ListBox using problem
Posted: Sat Dec 08, 2007 2:51 pm
So... I have a list box.. I know how to add items to it but I don't know how to implement it in the EventReceiver.
I did something like:
case EGET_LISTBOX_CHANGED:
and checked if there is the correct id... but nothing happends.
Morehover I tryed to debug it... and when I press a button it gets in the case... if I select something form the listbox it doesn't.
Could someone write a very simple example (just the code to be pun in the EvenReceiver).
Also I'd like to get the number of the item that was selected(as in 0 to number of items-1)
I did something like:
case EGET_LISTBOX_CHANGED:
and checked if there is the correct id... but nothing happends.
Morehover I tryed to debug it... and when I press a button it gets in the case... if I select something form the listbox it doesn't.
Could someone write a very simple example (just the code to be pun in the EvenReceiver).
Also I'd like to get the number of the item that was selected(as in 0 to number of items-1)