Partager via


IOleObjectImpl::OnPreVerbHide

Called by DoVerbHide before the control is hidden.

HRESULT OnPreVerbHide( );

Return Value

Returns S_OK.

Remarks

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

Requirements

Header: atlctl.h

See Also

Reference

IOleObjectImpl Class

IOleObjectImpl::DoVerbHide

IOleObjectImpl::OnPostVerbHide