I'm trying to popup a messagebox when data is changed, to prevent the user
from moving onto the next list item when the current data is not being
saved. But, I'm not sure how to "rollback" the event.
Is there any way to cancel the EVT_LIST_ITEM_SELECTED?
I tried to cancel it in the event EVT_LIST_ITEM_DESELECTED by using
SetEvtHandlerEnabled(0)
but it doesn't work and I'm also not sure is this the right way.
Can anyone give me some advice on stopping the select event from being
executed?
I'm still a novice programmer, so it would be grateful if there is some
sample code provided.
Thanks lot.
Jimmie