Click to return to the Reusing Browser Technology home page    
IHTMLBodyElement::get_cre...     IHTMLBodyElement::get_bac...     IHTMLBodyElement Interfac...    
Web Workshop  |  Reusing Browser Technology

IHTMLBodyElement::get_aLink Method


Retrieves the color used for the active link.

Syntax

HRESULT get_aLink(
    VARIANT *p
);

Parameters

p
Address of a VARIANT structure that receives the color. The color can be one of the names or values given in the Color Table. For details, see the aLink property.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

get_link, get_vLink

IHTMLBodyElement::put_aLink Method


Sets the color for the active link.

Syntax

HRESULT put_aLink(
    VARIANT v
);

Parameters

v
VARIANT structure that contains either a string or value that specifies the color to set. The color can be one of the names or values in the Color Table. For details, see the aLink property.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

put_link, put_vLink


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.