Solved

A menu 's toolstiptext

Posted on 2000-02-23
8
157 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

919 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now