Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is that little "message" box called?

Status
Not open for further replies.

gorgor

Programmer
Aug 15, 2002
164
US
This is driving me nuts. I'm using lab windows as my programming environment, and I'm trying to create that little box that shows up when your mouse is positioned over, say, a button in most new windows applications. You know, the little yellowish message box that appears when the mouse is positioned over the button for a couple seconds. It goes away by itself. I don't know what in the world that thing is called! I don't know what it is called so I can't do a search for the way to create in my programming environment. Please help!
 
Nice Question , i sure would like to know about it
if u do plz let me know at
kumarkadali@rediffmail.com

Thanks.
 
I have no experience with "lab windows" but the following extracts from code written using MFC may give you a hand with ToolTips.

// This defines the Tool Tips object
CToolTipCtrl tips;

//Activate the tips
if(!tips.Create(this,TTS_ALWAYSTIP))
TRACE0("Error Creating Tips");
else
tips.AddTool(&m_ctips,IDS_TIPS_OFF);
tips.Activate(TRUE);

// Attach a string resource to an object on the dialog box.
// IDS_LOAD is the #defined number for a string resource
// m_cload is the member variable referring to a item on my // GUI dialog
tips.AddTool(&m_cload,IDS_LOAD);

// Detach the string resource from the object.
tips.DelTool(&m_cload);


Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top