Solved

Help text when mouse is pointed on a button

Posted on 2004-08-08
3
173 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

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