Solved

Tooltip Text

Posted on 2001-06-28
3
335 Views
Last Modified: 2013-11-20
Hello,
How do I put a tooltip text on my toolbar buttons? Any coding required? If yes, please show me how to do it. If not, then where do I set the text?

The prompt comes in the status bar, which is far down on the screen. Too difficult to be noticed.

Please help. Thank you.
0
Comment
Question by:cheeonn
3 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 10 total points
ID: 6234493
in the properties of each toolbar button there is a place to add text for the statusbar and for the tooltip.
look for "Prompt" edit box...

the syntax is this:
"statusbar text\ntooltip text"

notice that there's \n in the middle, this is for VC to differ between the text for the statusbar and the text for the tooltip.

good luck

0
 
LVL 3

Expert Comment

by:tdaoud
ID: 6234563

I assume your toolbat buttons are mapped to Menu commands that you also have on your menus.

In that case go to the menu command and where you type text that appears in the status bar, add to it "\nTool tip text" at the end of it.  

for example if you have a menu command that edit employees you might have in its status bar text

"Manage employees database\nManage Employees"

So the first part before "\n" is the status bar text and the part after is the tooltip for the button of the same function.

No programming required.

Good Luck,

Tarik
0
 

Author Comment

by:cheeonn
ID: 6236595
Thank you all. Anyway, I found the method already. Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

831 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