15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Tool tip background color

John Simmons -- jms@connectnet.com
Thursday, August 29, 1996

Environment: VC++ 4.1/ Win95/NT4/Win32s

I'd like to change the background color of my tool tips windows.  Anybody
got any idea how to go about doing that?

I scanned the books online and msdn/July96, but I didn't see anything about
it...

/=========================================================\
| John Simmons (Redneck Techno-Biker)                     |
|    jms@connectnet.com                                   |
| Home Page                                               |
|    www2.connectnet.com/users/jms/                       |
|---------------------------------------------------------|
| ViewPlan, Inc. home page (my employer)                  |
|    www.viewplan.com/index.html                          |
|---------------------------------------------------------|
| IGN #12 American Eagle Motorsports Zerex Ford	          |
|    Teammates - Steve Stevens (#13 Hooters Ford and      |
|                               1995 IGN Points Champ)    |
|                Pat Campbell (#14 Dr. Pepper Ford)       |
| American Eagle Motorsports Team Page                    | 
|    www2.connectnet.com/users/jms/ignteam                |
| Hawaii Multi-Player Nickname:  AEMwest                  |
|---------------------------------------------------------|
| Competitor - Longest Signature File On The Net          |
\=========================================================/




Dicky Singh -- Dicky@landmark.com
Tuesday, September 03, 1996

Tootip text and background colors are set at system level using SetSysColor:
SetSysColor(COLOR_INFOBK);
SetSysColor(COLOR_INFOTEXT);

They should not be changed by programs.  Changing the color would
change tooltips colors for all programs.  If you want different colors,
you can always implement your own windows that behave like tooltips.



Dicky Singh -- Dicky@landmark.com
Thursday, September 05, 1996

Hi it is me again,  You may want to check out 'Custom Draw' a new feature 
from Microsoft, enabling Custom drawing (stage based control drawing, more 
advanced than Owner draw) of various controls including:  ListCtrl 
TreeCtrl, ToolTip, Header Ctrl, TrackBar, ToolBar and Coolbar (Ie3.0 
toolbars)  You'll need ComCtl32.h and ComCtl32.lib from ActiveX SDK and 
ComCtl32.DLL from IE3.0.  These Control enhancements are in beta stage and 
are being developed for Nashville.  Check out October MSJ.
-Dicky

----------
From: 	Dicky Singh[SMTP:Dicky@Landmark.COM]
Sent: 	Tuesday, September 03, 1996 10:42 a
To: 	'mfc-l@netcom.com'
Subject: 	RE: Tool tip background color

Tootip text and background colors are set at system level using 
SetSysColor:
SetSysColor(COLOR_INFOBK);
SetSysColor(COLOR_INFOTEXT);

They should not be changed by programs.  Changing the color would
change tooltips colors for all programs.  If you want different colors,
you can always implement your own windows that behave like tooltips.


John Simmons (jms@connectnet.com) wrote:

Environment: VC++ 4.1/ Win95/NT4/Win32s

I'd like to change the background color of my tool tips windows.  Anybody
got any idea how to go about doing that?

I scanned the books online and msdn/July96, but I didn't see anything about
it...


--------------------
Dicky Singh, Dicky@Landmark.COM
Dragon Team. Landmark Systems Inc.
8000 Towers Crescent, Vienna VA 22182





| Вернуться в корень Архива |