I am going to ask a fundamental question
I am using a third party control. One of the event it exposes is a doubleclick(Which is its custom event not the control double click). I register for this event and when this event is raised then I change one of the property of the control.
The problem is that control has got first mousedown event also which changes its state to something different i.e overriding my settings. So the stack will look something like this
MouseDown
--------
------
CustomDoubleClick
MyHandler (Where I change the state)
Control handler (Which respond to mouse down event on the stack and ultimately overrides my settings)
What I want to achieve is that MyHandler should be called at the end. For that do I have to use PostMessage function or something similar or timer ??? I tried using Invoke also but it is called immediately(I thought it is acting like a post message function) Say I want to call a function(Say Test())from within MyHandler and want to make sure that Test() should be called at the end.
Thanks
KDV