views:

107

answers:

0

I have a user control, which handles mouse click event, when mouse clicked, the control highlight an contained item. it worked smoothly until i attach a context menu to it-the right mouse click opens the context menu, but the item that is supposed to be highlighted by right click doesn't work as usual. So the right-click event is swallowed by the context menu? How can i still let the user control receive the event? It seems I have to route the event to the user control in my form event handler, this is really annoying.