Listbox::EventMouseClick event firing twice
Posted: Thu Jan 15, 2009 05:12
I've got a Listbox, containing several ListboxTextItems. I'm subscribing to the Listbox::EventMouseClick and sending it to a function named h_InteractionChoiceMouseClick.
I've only subscribed once, yet the event is firing twice each time I click in the Listbox. Why is this happening? How can I prevent the event from being processed twice?
Since WindowEventArgs doesn't give me any information about the mouse state I can't test to see if the mouse button is up or down.
Any ideas?
Thanks in advance.
I've only subscribed once, yet the event is firing twice each time I click in the Listbox. Why is this happening? How can I prevent the event from being processed twice?
Since WindowEventArgs doesn't give me any information about the mouse state I can't test to see if the mouse button is up or down.
Any ideas?
Thanks in advance.