Click to return to the Reusing Browser Technology home page    
IHTMLAreaElement::get_hre...     IHTMLAreaElement::get_onb...     IHTMLAreaElement Interfac...    
Web Workshop  |  Reusing Browser Technology

IHTMLAreaElement::get_noHref Method


Retrieves the value that indicates whether clicks in this region should cause any action.

Syntax

HRESULT get_noHref(
    VARIANT_BOOL *p
);

Parameters

p
Address of a VARIANT Boolean structure that is set to VARIANT_TRUE if clicks cause no action, or VARIANT_FALSE otherwise. The default value for this property is VARIANT_FALSE. For details, see the noHref 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

IHTMLAreaElement::put_noHref Method


Sets the value that indicates whether clicks in this region should cause any action.

Syntax

HRESULT put_noHref(
    VARIANT_BOOL v
);

Parameters

v
VARIANT Boolean structure that determines if an action should occur. VARIANT_TRUE causes no action when clicked; VARIANT_FALSE does. The default value for this property is VARIANT_FALSE. For details, see the noHref 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


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.