IOleInPlaceObjectWindowlessImpl::InPlaceDeactivate

Called by the container to deactivate an in-place active control.

HRESULT InPlaceDeactivate(
   HWND* phwnd 
);

Remarks

This method performs a full or partial deactivation depending on the state of the control. If necessary, the control's user interface is deactivated, and the control's window, if any, is destroyed. The container is notified that the control is no longer active in place. The IOleInPlaceUIWindow interface used by the container to negotiate menus and border space is released.

See IOleInPlaceObject::InPlaceDeactivate in the Windows SDK.

Requirements

Header: atlctl.h

See Also

Reference

IOleInPlaceObjectWindowlessImpl Class

CComControlBase::InPlaceActivate

Other Resources

IOleInPlaceObjectWindowlessImpl Members