Solved

A menu 's toolstiptext

Posted on 2000-02-23
8
156 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
Comment Utility
"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
Comment Utility
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
Comment Utility
3rsrichard:
The form's menu has no ToolTip property, only a Click event.
0
 
LVL 3

Expert Comment

by:3rsrichard
Comment Utility
He expressed some doubt about the wording of his question.  So now he has answers for two different situations.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

Author Comment

by:WangTiop
Comment Utility
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
Comment Utility
Isn't that what Erick pointed you to?
0
 
LVL 32

Expert Comment

by:Erick37
Comment Utility
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
Comment Utility
"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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

744 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

16 Experts available now in Live!

Get 1:1 Help Now