Freigeben über


IOleObjectImpl::OnPreVerbInPlaceActivate

Called by DoVerbInPlaceActivate before the control is activated in place.

HRESULT OnPreVerbInPlaceActivate( );

Return Value

Returns S_OK.

Remarks

To prevent the control from being activated in place, override this method to return an error HRESULT.

Requirements

Header: atlctl.h

See Also

Concepts

IOleObjectImpl Class

IOleObjectImpl Members

IOleObjectImpl::DoVerbInPlaceActivate

IOleObjectImpl::OnPostVerbInPlaceActivate