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.

QuickInfo

  Windows NT: Use version 4.0 or later. New for OC96.
  Windows: Use Windows 95 or later. New for OC96.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

IOleInPlaceSite::OnInPlaceDeactivate