I can't seem to get a good process together for blocking events when an event is underway.
For example, user clicks a tab or menu option and I want to stop all other clicks while the current event is processing.
I currently push an event processing marker onto a stack and then set a callback at the completion of the event to remove the marker. Before any of the chosen click events can execute, they must check to see if there is already an event in process. What it seems, however, is I'm not getting the callback on the event completion right, so it is show complete too soon.
Any help would be greatly appreciated!
Thanks