How to disable double click option in activex component control?
-
Hi I am using one activex component on my project. i want disable double click option this activex component in run time. Please give any idea or url Regards, M.Mathivanan
-
Hi I am using one activex component on my project. i want disable double click option this activex component in run time. Please give any idea or url Regards, M.Mathivanan
-
Hi I am using one activex component on my project. i want disable double click option this activex component in run time. Please give any idea or url Regards, M.Mathivanan
If the double-click event has been wired up in your code (possibly done by the designer), then you just need to use RemoveHandler to remove it. If the control handles its own double-click event without any intervential from your code, you cannot disable the double-click event. You'd have to modify the code in the ActiveX control in order to do that. If you don't have the source code for it, you're out of luck.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak