Skip to content

Latest commit

 

History

History
98 lines (79 loc) · 3.52 KB

nf-oleidl-ioleinplacesite-onuideactivate.md

File metadata and controls

98 lines (79 loc) · 3.52 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:oleidl.IOleInPlaceSite.OnUIDeactivate
IOleInPlaceSite::OnUIDeactivate (oleidl.h)
Notifies the container that it should reinstall its user interface and take focus, and whether the object has an undoable state.
IOleInPlaceSite interface [COM]
OnUIDeactivate method
IOleInPlaceSite.OnUIDeactivate
IOleInPlaceSite::OnUIDeactivate
IOleInPlaceSiteWindowless.OnUIDeactivate
OnUIDeactivate
OnUIDeactivate method [COM]
OnUIDeactivate method [COM]
IOleInPlaceSite interface
_ole_ioleinplacesite_onuideactivate
com.ioleinplacesite_onuideactivate
oleidl/IOleInPlaceSite::OnUIDeactivate
com\ioleinplacesite_onuideactivate.htm
com
926c02b4-0bfa-4509-b5bc-4e5007e4db1a
12/05/2018
IOleInPlaceSite interface [COM],OnUIDeactivate method, IOleInPlaceSite.OnUIDeactivate, IOleInPlaceSite::OnUIDeactivate, IOleInPlaceSiteWindowless.OnUIDeactivate, OnUIDeactivate, OnUIDeactivate method [COM], OnUIDeactivate method [COM],IOleInPlaceSite interface, _ole_ioleinplacesite_onuideactivate, com.ioleinplacesite_onuideactivate, oleidl/IOleInPlaceSite::OnUIDeactivate
oleidl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
OleIdl.Idl
Windows
19H1
IOleInPlaceSite::OnUIDeactivate
oleidl/IOleInPlaceSite::OnUIDeactivate
c++
APIRef
kbSyntax
COM
OleIdl.h
browsewm.dll
IOleInPlaceSite.OnUIDeactivate
IOleInPlaceSiteWindowless.OnUIDeactivate

IOleInPlaceSite::OnUIDeactivate

-description

Notifies the container that it should reinstall its user interface and take focus, and whether the object has an undoable state.

-parameters

-param fUndoable [in]

Specifies whether the object can undo changes (TRUE) or not (FALSE).

-returns

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

Return code Description
E_UNEXPECTED
An unexpected error has occurred.

-remarks

The object indicates whether it can undo changes through the fUndoable flag. If the object can undo changes, the container can (by the user invoking the Edit Undo command) call the IOleInPlaceObject::ReactivateAndUndo method to undo the changes.

Notes to Callers

IOleInPlaceSite::OnUIDeactivate is called by the site's immediate child object when it is deactivating to notify the container that it should reinstall its own user interface components and take focus. The container should wait for the call to IOleInPlaceSite::OnUIDeactivate to complete before fully cleaning up and destroying any composite submenus.

-see-also

IOleInPlaceObject::ReactivateAndUndo

IOleInPlaceSite