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 judiciouslya 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
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 judiciouslya 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