pulling down a menu programmatically

Is there a way in VB5 to programmatically cause a menu to pull down (as if the user has clicked it)?  This would be helpful in giving the user some guidance on where to go next in the program (instead of just text to tell, this would show the next step)?

I can use the HiLiteMenuItem API call to highlight the menu, but it would be more dramatic to show it pulled down. Also, that API call only seems to work with top level menus.  What I would really like is to be able to pull down the top level and highlight the menu item they should click, so they learn by seeing it done.
mwiebeAsked:
Who is Participating?
 
idcanadaConnect With a Mentor Commented:

May sound simple but this is it.
Popupmenu mnuFile


0
 
PoddyCommented:
try sendkeys ... ?
0
 
chrisboltCommented:
For example:

SendKeys "%f"

Will show the File menu assuming you have f setup as the accelerator key (the caption would be &File)
0
 
mwiebeAuthor Commented:
Thanks - a typical case of trying to make something more complicated than it is.  I was assuming it would be some complicated API call instead of a nice neat from method.  I expect there is an equally easy way to make the popup be positioned in the normal menu location (the goal here is helping to teach the user where to go next), so I'll do a little more exploring in the help screens for the PopupMenu method.

Thanks again.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.