Solved

ToolTipText Color

Posted on 2001-06-27
7
184 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
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.

 
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

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 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

18 Experts available now in Live!

Get 1:1 Help Now