Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
5.00/5 (3 votes)
See more:
I had an interesting situation where on the double click event of a control I open a dialog. This dialog is also opened with a context menu and enter key. Only on the double click does the dialog open with the mouse click not working. I can close the dialog using tab and enter keys, and the mouse click still does not work on the main form. When I press the enter key, which opens another dialog, the mouse click starts working again.

Solution: I put in a timer with an event that actually now opens the dialog. With 100 ms I sometimes still had this situation, but with 250 I do not seem to still have the problem.

Anybody know what is happening?
Posted
Comments
Sergey Alexandrovich Kryukov 13-Feb-13 16:52pm    
This sounds weird. Could you possibly reproduce it on a simple code sample small enough to add to your question? I think you could do it. Don't use XAML, just make it all in one C# file...
—SA
Clifford Nelson 13-Feb-13 20:10pm    
I know it is wierd. Not really practical to post given that it is a project that uses both Infragistics and telerik. I know I hate infragistics, not sure about telerik. Thought is was interesting, and was hoping somebody had some incite.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900