Solved

Help text when mouse is pointed on a button

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Define unique primary key 9 89
MaxSpan challenge 9 82
fix34  challenge 9 105
sumHeights  challenge 17 66
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 …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

896 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