Solved

Help text when mouse is pointed on a button

Posted on 2004-08-08
3
174 Views
Last Modified: 2013-11-20
Hi,

I am exercising with MFCs and I am able to create some buttons and do some event processing (button clicks) with them. I would like to know how to add help text information box to button controls.

For example,

when user points on a button or an ICON with mouse a small box showing text about what that button or icon is for, wil be displayed just below the cursor.

I would like to know the programmer's name for them and how to add them to buttons. i am having some buttons with icons on them and they are intuitive, but when user points on the button he should be presented, for what that button is intended for.

so, can any one could guide me?
0
Comment
Question by:ramavorray
3 Comments
 
LVL 5

Assisted Solution

by:Nass89
Nass89 earned 25 total points
ID: 11749831
Hi,
What you are looking is ToolTip. In MSDN you will find many topics about it. One of them is :
HOWTO: How to Add Tooltips for Controls to an MFC Modal Dialog Box
It will show how to add tooltip for controls.

Hope it helps.

Good Luck!
0
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 25 total points
ID: 11750326
If you have Visual C / Visual Studio 6 there is a wizard - component gallery - that will add a tooltip to a class for you.  All you then need to do is to say which button requires text and what that text is.
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

Suggested Solutions

Title # Comments Views Activity
substring method in java 1 135
move a line in eclipse 3 109
fizzArray  challenge 1 109
Execute multiple curl cmds with sleep and send output to file 10 114
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

740 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