Share via


RequestFrame method

Requests a redraw of the window that owns the ActiveX control associated with an ISurfacePresenter interface.

 

Syntax

HRESULT retVal = object.RequestFrame();

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

An error is returned if the control is not active, is not in surface presenter mode as set by IViewObjectPresentSite::SetCompositionMode, or does not implement IViewObjectPresentNotify.