Click to return to the Reusing Browser Technology home page    
IHTMLInputImage::get_loop...     IHTMLInputImage::get_name...     IHTMLInputImage Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLInputImage::get_lowsrc Method


Retrieves the URL of a lower-resolution image to display.

Syntax

HRESULT get_lowsrc(
    BSTR *p
);

Parameters

p
Address of a variable that receives the URL.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

Setting the SRC= attribute in code has the side-effect of actually starting to load the new URL into the image area (and aborting the transfer of any image data that is already loading into the same area). Therefore, you should alter the lowsrc property before setting the src property. If the URL in the src property refers to an image that is not the same size as the image cell it is loaded into, the source image is scaled to fit.

Windows CE

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

IHTMLInputImage::put_lowsrc Method


Specifies the URL of a lower-resolution image to display.

Syntax

HRESULT put_lowsrc(
    BSTR v
);

Parameters

v
String that specifies the URL.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

Setting the SRC= attribute in code has the side-effect of actually starting to load the new URL into the image area (and aborting the transfer of any image data that is already loading into the same area). Therefore, you should alter the lowsrc property before setting the src property. If the URL in the src property refers to an image that is not the same size as the image cell it is loaded into, the source image is scaled to fit.

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.