Compartilhar via


IOleObjectImpl::OnPreVerbShow

Called by DoVerbShow before the control has been made visible.

HRESULT OnPreVerbShow( );

Return Value

Returns S_OK.

Remarks

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

Requirements

Header: atlctl.h

See Also

Reference

IOleObjectImpl Class

IOleObjectImpl::DoVerbShow

IOleObjectImpl::OnPostVerbShow