Solved

ToolTipText Color

Posted on 2001-06-27
7
183 Views
Last Modified: 2013-11-20
Hi, is it possible to make a ToolTipText, with more then 1 Color ?
0
Comment
Question by:win32
7 Comments
 

Expert Comment

by:Cuong
ID: 6230553
The only way i can think of is to create the coloured ToolTip Text as a Bitmap as you want it displayed.

Then you will have to create a new CToolTipCtrl class, and overload the Activate function to display a Bitmip rather than Text.

Hope this helps
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 6231049
i've got your e-amil, i'll send u a sample check it...
0
 
LVL 12

Expert Comment

by:migel
ID: 6231127
hi!
You have to handled NM_CUSTOMDRAW message and draw text manually.
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 42

Expert Comment

by:sedgwick
ID: 6231163
check the your mail mate :+)
0
 

Author Comment

by:win32
ID: 6231868
Cool sedqwick but I think you missed the point,, I want 3 colors on the text in only one ToolText...

If your program can do the job, I just missed that part.
0
 
LVL 42

Expert Comment

by:sedgwick
ID: 6233881
well, for 50 pts i can only suggest u to manipulate tooltiping manually, use gradient CStatic ctrl and timer for display your "static like tooltip" after say one second.

good luck
0
 
LVL 42

Accepted Solution

by:
sedgwick earned 50 total points
ID: 6233959
well, for 50 pts i can only suggest u to manipulate tooltiping manually, use gradient CStatic ctrl and timer for display your "static like tooltip" after say one second.

good luck
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

758 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

20 Experts available now in Live!

Get 1:1 Help Now