Home All Groups Group Topic Archive Search About

right click on datagridview header

Author
28 Jun 2006 3:45 PM
Bob Costello
I have a dgv with a context menu. The application requires that when a right
click occurs on the dgv header, different functionality needs to be invoked.
However, if I right click on the header, the context menu appears.  It
appears that I need to disable or unload the context menu when the mouse is
in the header so I can handle the right click event. Is there any easy way of
doing this?

Thanks in advance

Robert J. Costello

AddThis Social Bookmark Button