right click on datagridview header

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Back
Top