Context menu

  • Thread starter Thread starter Chris Saunders
  • Start date Start date
C

Chris Saunders

I'm developing a Windows Forms application and have added a context menu to
the main
form. The main form has a tool strip and when running the application the
context menu
appears if I right click over the tool strip. I would like for it to appear
only if I right click
over the client area of the form.

Any help appreciated.

Regards
Chris Saunders
 
Hi Chris,

Use a ContextMenuStrip and assign it to the Form's ContextMenuStrip property.
 
Back
Top