?
Solved

A menu 's toolstiptext

Posted on 2000-02-23
8
Medium Priority
?
166 Views
Last Modified: 2010-05-02
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
Comment
Question by:WangTiop
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 32

Expert Comment

by:Erick37
ID: 2551171
"HOWTO: Display Descriptions of Menu Items When Highlighted"

http://support.microsoft.com/support/kb/articles/Q185/4/51.ASP
0
 
LVL 3

Expert Comment

by:3rsrichard
ID: 2551354
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
 
LVL 32

Expert Comment

by:Erick37
ID: 2551646
3rsrichard:
The form's menu has no ToolTip property, only a Click event.
0
Independent Software Vendors: 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!

 
LVL 3

Expert Comment

by:3rsrichard
ID: 2551735
He expressed some doubt about the wording of his question.  So now he has answers for two different situations.
0
 

Author Comment

by:WangTiop
ID: 2554718
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
 
LVL 3

Expert Comment

by:3rsrichard
ID: 2554788
Isn't that what Erick pointed you to?
0
 
LVL 32

Expert Comment

by:Erick37
ID: 2555225
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
 
LVL 9

Accepted Solution

by:
Ruchi earned 90 total points
ID: 2556719
"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!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question