468,549 Members | 2,070 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,549 developers. It's quick & easy.

how to tell mousedown is context menu

If I create a control library control (and change the base control
from usercontrol to control). Add that control to the toolbox, then
add that control to a windows form. Then add a context menu to the
control. Within the control, how do you tell when a context menu has
been instanced? I don't see any overrides I can work with.

Trapping the mousedown and up doesn't help much either because you can
have multiple mouse up events if someone brings up a context menu then
right clicks on the context menu. Is there an easy way to be notified
and work with a context menu on your control?

Nov 16 '05 #1
0 1247

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Eddie de Bear | last post: by
4 posts views Thread by Mohit Gupta | last post: by
8 posts views Thread by Dennis C. Drumm | last post: by
5 posts views Thread by lgbjr | last post: by
1 post views Thread by goRide | last post: by
reply views Thread by ssg31415926 | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.