By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,911 Members | 1,213 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,911 IT Pros & Developers. It's quick & easy.

How to show dropdown list of menu items just like click on Parent menu by writing code

P: n/a
Hi All,

How to show dropdown list of menu items just like click on Parent menu.

For example,

Edit (Parent menu)
Cut (child menu)
Copy (child menu)
Paste (child menu)

When you click on Edit menu, you get dropdown list of submenu items.
How to achieve this without clicking on Edit menu. i.e by code.

mnuEdit.PerformClick() doesn't work.

Thanks and Regards,

Sakahram Phapale
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Assuming the Edit Menu has a Mnemonic, (for example: &Edit), then you can
call:

SendKeys.Send("%" + mnuEdit.Mnemonic);
"Sakharam Phapale" <sp******@annetsite.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi All,

How to show dropdown list of menu items just like click on Parent menu.

For example,

Edit (Parent menu)
Cut (child menu)
Copy (child menu)
Paste (child menu)

When you click on Edit menu, you get dropdown list of submenu items.
How to achieve this without clicking on Edit menu. i.e by code.

mnuEdit.PerformClick() doesn't work.

Thanks and Regards,

Sakahram Phapale

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.