spacer

home / experts / dhtml / column24
Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

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

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint

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

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