Export (0) Print
Expand All

IOleInPlaceSiteEx::OnInPlaceDeactivateEx method

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

Syntax


HRESULT OnInPlaceDeactivateEx(
  [in]  BOOL fNoRedraw
);

Parameters

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 value

This method returns S_OK on success. Other possible return values include the following.

Return codeDescription
E_UNEXPECTED

An unexpected error has occurred.

 

Remarks

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

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OCIdl.h

IDL

OCIdl.idl

IID

IID_IOleInPlaceSiteEx is defined as 9C2CAD80-3424-11CF-B670-00AA004CD6D8

See also

IOleInPlaceSiteEx
IOleInPlaceSite::OnInPlaceDeactivate

 

 

Community Additions

ADD
Show:
© 2015 Microsoft