Solved

A menu 's toolstiptext

Posted on 2000-02-23
8
160 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
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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 30 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…

860 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