• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

A menu 's toolstiptext

In some software,when i move the mouse cursor over a menu or submenu,a explain text will placed in Statusbar,however, the menu object only have a Click event,have no menu_mousemove event,so my question is how can i make it.
Maybe,my question is not clear,because i am a Chinese people,and my english is very poor.
0
WangTiop
Asked:
WangTiop
1 Solution
 
Erick37Commented:
"HOWTO: Display Descriptions of Menu Items When Highlighted"

http://support.microsoft.com/support/kb/articles/Q185/4/51.ASP
0
 
3rsrichardCommented:
While you are using the VB IDE.
Show a form.
Select one of the objects on the form.
One of the Properties is ToolTipText.

Or do something like

Form1.Textbox1.ToolTipText = "Hello"
0
 
Erick37Commented:
3rsrichard:
The form's menu has no ToolTip property, only a Click event.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
3rsrichardCommented:
He expressed some doubt about the wording of his question.  So now he has answers for two different situations.
0
 
WangTiopAuthor Commented:
For example, if your browser is MS-IE, please click File menu, and then move you cursor on New, now you can see open new document in status bar at the lowermost, I want make this, now understand?
0
 
3rsrichardCommented:
Isn't that what Erick pointed you to?
0
 
Erick37Commented:
I think the article I pointed to does just that.

A description:

"Some applications, such as the Windows Explorer, provide a description of each menu item in the status bar when the menu item is highlighted. This functionality provides the user more information about what each menu command does before it is activated.

This article shows you how to use several of the Windows API functions to include this functionality in your Visual Basic application."

"HOWTO: Display Descriptions of Menu Items When Highlighted"

http://support.microsoft.com/support/kb/articles/Q185/4/51.ASP
0
 
RuchiCommented:
"This program shows how to subclass a menu, and show the appropriate menu-information in the status bar."

download at
http://kpd-team.hypermart.net/download/menustat.zip
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now