Click to return to the Reusing Browser Technology home page    
IHTMLScreen::get_height M...     IHTMLScreen::get_width Me...     IHTMLScreen Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLScreen::get_updateInterval Method


Retrieves the update interval for the screen.

Syntax

HRESULT get_updateInterval(
    long *p 
);

Parameters

p
Address of a long variable that receives the number of milliseconds between updates to the screen. This parameter receives zero if the update interval is disabled.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The interval causes update requests to the window to be queued and then performed in the given millisecond intervals. The purpose is to limit screen repainting and increase the overall painting performance, especially if there is an overabundance of flipbook-style animations.

Use this property judiciously—a value too small or too large will adversely affect the page-rendering response.

Windows CE

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

IHTMLScreen::put_updateInterval Method


Sets the update interval for the screen.

Syntax

HRESULT put_updateInterval(
    long v 
);

Parameters

v
Long value that specifies the number of milliseconds between updates to the screen to set. A value of zero disables the update interval.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

The interval causes update requests to the window to be queued and then performed in the given millisecond intervals. The purpose is to limit screen repainting and increase the overall painting performance, especially if there is an overabundance of flipbook-style animations.

Use this property judiciously—a value too small or too large will adversely affect the page-rendering response.

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.