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

scrollbarBaseColor property

Sets or retrieves the color of the main elements of a scroll bar, which include the scroll box, track, and scroll arrows.

Syntax

HRESULT value = object.put_scrollbarBaseColor( v);HRESULT value = object.get_scrollbarBaseColor(* 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

Standards information

There are no standards that apply here.

Remarks

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

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. The scroll arrows, located at each end of a scroll bar, are the square buttons containing the arrows that move the content on the screen in small increments, either up and down or left and right.

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.

The IHTMLCSSStyleDeclaration::scrollbarBaseColor property is a composite property. You can use separate properties to specify each of the individual properties, but in many cases it is more convenient to set them in one place using this composite 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::scrollbarDarkShadowColor
IHTMLCSSStyleDeclaration::scrollbarFaceColor
IHTMLCSSStyleDeclaration::scrollbarHighlightColor
IHTMLCSSStyleDeclaration::scrollbarShadowColor
IHTMLCSSStyleDeclaration::scrollbarTrackColor

 

 

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

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.