| Click events of context menu are not firing....
Hi Wilfried,
Thanks for your proposed solution but it still does not work. Though my requirement is to use user control to do all that business but to analyze the problem I tested your proposed solution. I created a form and place an ActiveX map control on it. Then in BeforeClick event I cancelled the default menus and showed my own menu in MouseDown event. The context menu is appearing fine but when I clicked on any of menu option, no click event is firing. I've seen discussion that e.Cancel = true also cancels the events so is it the same problem here? If yes how to tackle it and if no then what can be the reason for it. Anyone proposing a solution is highly appreciated please.
Regards
__________________
Learn from cradle to the grave
|