Context menu

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
 
D

Dave Sexton

Hi Chris,

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top