Solved

ToolTipText Color

Posted on 2001-06-27
7
192 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question regarding Copy/Paste 16 98
Generic progress indicator 6 119
method notes when mouse over in eclipse 5 90
How to convert MFC::CString to UTF8 wchar_t* 10 387
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.

730 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