Sets or retrieves whether objects are drawn offscreen before being made visible to the user.
HRESULT IHTMLWindow2::get_offscreenBuffering(VARIANT_BOOL *p);HRESULT IHTMLWindow2::put_offscreenBuffering(VARIANT_BOOL v);
- Pointer to a variable of type VARIANT_BOOL that receives one of the values listed in Possible Values.
- VARIANT_BOOL that specifies one of the values listed in Possible Values.
VARIANT_TRUE BOOL that enables offscreen buffering. VARIANT_FALSE BOOL that disables offscreen buffering. auto Default. BSTR that allows Windows Internet Explorer to decide when offscreen buffering is used.
Returns S_OK if successful, or an error value otherwise.
The value of the IHTMLWindow2::offscreenBuffering property determines how the current document is drawn. When the property is set to
true, objects are added to an offscreen buffer. After all objects are drawn, the contents of the offscreen buffer are made visible to the user. When the property is set to
false, objects are rendered directly to the screen.
By default, Internet Explorer decides when to buffer objects offscreen. In addition, Internet Explorer automatically enables offscreen buffering when Microsoft DirectX-based components are used on the document .