HRESULT UIDeactivate( );
See IOleInPlaceObject::UIDeactivate in the Win32 SDK.
Remarks
Deactivates and removes the control's user interface that supports in-place activation. Sets the control class's data member m_bUIActive to FALSE. The ATL implementation of this function always returns S_OK.
IOleInPlaceObjectWindowlessImpl Overview | Class Members
See Also CComControl::m_bUIActive