spacer

home / experts / dhtml / column24
Developer News
iPhone Users Just Want to Have Fun
Oops! I Fixed the Linux Kernel
Jim Zemlin: The New Center of Linux Gravity
Logo

Accessing the User-Defined System Colors, Part I
IE4Win32


 activecaption
The background color of an active window's title bar is set with the Active Title Bar option under Item:
This affects the look of the active window in the OS, that is, the application currently in use.
We can use this value in DHTML when creating pop-up elements, that need to have a "window" look, like in our major example later in the article.

 captiontext
The text color of an active window's title bar is set by first selecting the Active Title Bar option under Item:, then specifying a color under Font:
This complements the activecaption value, and the two are usually set together.
Like activecaption, the value of captiontext is invaluable in the creation of application-like pop-ups.

 activeborder
The border of an active window is set with the Active Window Border option under Item:
Unlike the previous two values on this page, activeborder reflects a color rarely set by a user. Usually this "border" is the same color as the "face" of the window. In fact, very few users are aware that it can be a different color.
If one wanted to create a DHTML popup with all the trimmings, one could account for a user setting this option. We will demonstrate this in one of our examples.

You can't have an active window, without inactive windows, the colors for which are discussed next.



Produced by Peter Belesis and



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Performance Optimizations for High Speed JavaScript · Advanced Web Performance Optimization · Simple Comments Meets OpenID
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Installing Oracle E-Business Suite R12 on Windows 2003 · When the Cloud Storms on You · eBay Watch: DSR 4.3 Tips, Tactics and Seller POV

All Rights Reserved. Legal Notices.
Created: Feb 23, 1999
Revised: Feb 23, 1999

URL: http://www.webreference.com/dhtml/column24/colsIEactive.html