Export (0) Print
Expand All
top
Expand Minimize
This topic has not yet been rated - Rate this topic

scrollbarTrackColor property

Sets or retrieves the color of the track element of a scroll bar.

Syntax

HRESULT value = object.put_scrollbarTrackColor( v);HRESULT value = object.get_scrollbarTrackColor(* p);

Property values

Type: VARIANT

Any color name or RGB values in the Color Table.

String format

variant

CSS information

Applies ToAll elements
Mediavisual
Inherited1
Initial Value

Remarks

Windows Internet Explorer 8. The IHTMLCSSStyleDeclaration::scrollbarTrackColor attribute is an extension to CSS, and can be used as a synonym for scrollbar-track-color in IE8 Standards mode.

The track is the element of a scroll bar on which the scroll box can slide either up and down or left and right. The scroll box is the square box within a scroll bar that can be moved either up and down or left and right on a track to change the position of the content on the screen.

This property applies to elements that display a scroll bar. Cascading Style Sheets (CSS) enable scrolling on all objects through the IHTMLCSSStyleDeclaration::overflow property. These objects are not listed in the Applies To list for this property.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference
IHTMLCSSStyleDeclaration::scrollbar3dLightColor
IHTMLCSSStyleDeclaration::scrollbarArrowColor
IHTMLCSSStyleDeclaration::scrollbarBaseColor
IHTMLCSSStyleDeclaration::scrollbarDarkShadowColor
IHTMLCSSStyleDeclaration::scrollbarFaceColor
IHTMLCSSStyleDeclaration::scrollbarHighlightColor
IHTMLCSSStyleDeclaration::scrollbarShadowColor

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.