共用方式為


IOleObjectImpl::OnPostVerbUIActivate

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

HRESULT OnPostVerbUIActivate( );

Return Value

Returns S_OK.

Remarks

Override this method with code you want executed after the control's user interface has been activated.

Requirements

Header: atlctl.h

See Also

Reference

IOleObjectImpl Class

IOleObjectImpl::DoVerbUIActivate

IOleObjectImpl::OnPreVerbUIActivate