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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic tooltips?

Status
Not open for further replies.

ImNew

Technical User
Aug 20, 2002
1
US
How do I change the tool tips at runtime? Any ideas?

Thanks.
 
If you are using MFC, you can Create a CToolTip control, call it's Create() function and then Activate(). To change the tool tip you need to first DelTool() the original tool tip message and then AddTool() the new one. Don't forget to add tooltip.RelayEvent() to your PreTranslateMsg() function.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top