IOleInPlaceSiteEx::OnInPlaceDeactivateEx

Notifies the container if the object needs to be redrawn upon deactivation.

HRESULT OnInPlaceDeactivateEx(

BOOL fNoRedraw

//Indicates whether the object needs to be redrawn

);

Parameter

fNoRedraw
[in] If TRUE, the container need not redraw the object after completing the deactivation; if FALSE the object must be redrawn after deactivation.

Return Values

This method supports the standard return value E_UNEXPECTED, as well as the following:

S_OK
The method successfully notified the container.

Remarks

This method replaces IOleInPlaceSite::OnInPlaceDeactivate. If the older method is used, the object must always be redrawn on deactivation.

See Also

IOleInPlaceSite::OnInPlaceDeactivate