System Color Values for Color Derivation Methods

If you specify szFormat as CSS for the color derivation methods, the pszFrom and pszTo parameters are passed as strings that are the specific names of the system colors that you want to use to derive a new color. The system colors are those colors set for specific display elements.

The color settings for the following display elements can be specified in the pszFrom and pszTo parameters:

activeborder

activecaption

appworkspace

background

buttonface

buttonhighlight

buttonshadow

buttontext

captiontext

graytext

highlight

highlighttext

inactiveborder

inactivecaption

inactivecaptiontext

infobackground

infotext

menu

menutext

scrollbar

threeddarkshadow

threedface

threedhighlight

threedlightshadow

threedshadow

window

windowframe

windowtext