Поделиться через


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

Reference

IOleObjectImpl Class

IOleObjectImpl::DoVerbUIActivate

IOleObjectImpl::OnPostVerbUIActivate