Active view of hooked control or application.
[Visual Basic 6.0] Property ActiveView As IActiveView
[Visual Basic .NET] Public ReadOnly Property ActiveView As IActiveView
[C#] public IActiveView ActiveView {get;}
[Java] public IActiveView getActiveView() throws IOException, AutomationException
[C++] HRESULT get_ActiveView( IActiveView** ppActiveView );
The IActiveView of the hook passed to the ICommand::OnCreate event. The ActiveView is returned regardless of whether the hook is a MapControl, PageLayoutControl, ToolbarControl (with a 'buddy' MapControl or PageLayoutControl) or ArcMap.
1058 800A0422: The supplied hook does not implement ICommandHook.
1059 800A0423: The supplied hook is not a valid object.
1060 800A0424: The supplied hook is not valid.
1061 800A0425: IARPageLayout::get_InternalObject failed.
1062 800A0426: IARMap::get_InternalObject failed.