Solved

Help text when mouse is pointed on a button

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bobThere java chalenge 45 92
mixString challenge 36 120
Add content to output file 4 63
post4 challenge 28 99
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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…

813 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

15 Experts available now in Live!

Get 1:1 Help Now