Partager via


IOleObjectImpl::OnPreVerbUIActivate

Called by DoVerbUIActivate before the control's user interface has been activated.

HRESULT OnPreVerbUIActivate( );

Return Value

Returns S_OK.

Remarks

To prevent the control's user interface from being activated, override this method to return an error HRESULT.

Requirements

Header: atlctl.h

See Also

Concepts

IOleObjectImpl Class

IOleObjectImpl Members

IOleObjectImpl::DoVerbUIActivate

IOleObjectImpl::OnPostVerbUIActivate