41 references to ActiveXInstance
System.Windows.Forms (41)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (9)
35get => ActiveXInstance.AmbientBackColor; 41get => ActiveXInstance.AmbientForeColor; 47get => ActiveXInstance.AmbientFont; 53get => ActiveXInstance.EventsFrozen; 59get => ActiveXInstance.HWNDParent; 63private Region ActiveXMergeRegion(Region region) => ActiveXInstance.MergeRegion(region); 66private void ActiveXOnFocus(bool focus) => ActiveXInstance.OnFocus(focus); 69private void ActiveXViewChanged() => ActiveXInstance.ViewChangedInternal(); 73=> ActiveXInstance.UpdateBounds(ref x, ref y, ref width, ref height, flags);
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (32)
51return ActiveXInstance.GetControlInfo(pCI); 71ActiveXInstance.OnAmbientPropertyChange(dispID); 78ActiveXInstance.EventsFrozen = bFreeze; 79Debug.Assert(ActiveXInstance.EventsFrozen == bFreeze, "Failed to set EventsFrozen correctly"); 93=> ActiveXInstance.TranslateAccelerator(lpmsg); 105ActiveXInstance.OnDocWindowActivate(fActivate); 117HRESULT IOleInPlaceObject.Interface.GetWindow(HWND* phwnd) => ActiveXInstance.GetWindow(phwnd); 131HRESULT IOleInPlaceObject.Interface.InPlaceDeactivate() => ActiveXInstance.InPlaceDeactivate(); 134HRESULT IOleInPlaceObject.Interface.UIDeactivate() => ActiveXInstance.UIDeactivate(); 138ActiveXInstance.SetObjectRects(lprcPosRect, lprcClipRect); 146ActiveXInstance.SetClientSite(pClientSite); 158*ppClientSite = ActiveXInstance.GetClientSite().Value; 170ActiveXInstance.Close((OLECLOSE)dwSaveOption); 218return ActiveXInstance.DoVerb((OLEIVERB)iVerb, lpmsg, pActiveSite, lindex, hwndParent, lprcPosRect); 273ActiveXInstance.SetExtent(dwDrawAspect, (Size*)psizel); 285ActiveXInstance.GetExtent(dwDrawAspect, (Size*)psizel); 297return ActiveXInstance.Advise(pAdvSink, pdwConnection); 301HRESULT IOleObject.Interface.Unadvise(uint dwConnection) => ActiveXInstance.Unadvise(dwConnection); 383ActiveXInstance.Load(pPropBag, pErrorLog); 390ActiveXInstance.Save(pPropBag, fClearDirty, fSaveAllProperties); 407HRESULT IPersistStorage.Interface.IsDirty() => ActiveXInstance.IsDirty(); 420return ActiveXInstance.Load(pStg); 431return ActiveXInstance.Save(pStgSave, fSameAsLoad); 453HRESULT IPersistStreamInit.Interface.IsDirty() => ActiveXInstance.IsDirty(); 463ActiveXInstance.Load(pStm); 475ActiveXInstance.Save(pStm, fClearDirty); 487ActiveXInstance.QuickActivate(pQaContainer, pQaControl); 497ActiveXInstance.SetExtent(DVASPECT.DVASPECT_CONTENT, (Size*)pSizel); 509ActiveXInstance.GetExtent(DVASPECT.DVASPECT_CONTENT, (Size*)pSizel); 526HRESULT hr = ActiveXInstance.Draw( 563ActiveXInstance.SetAdvise(aspects, (ADVF)advf, pAdvSink); 567ActiveXInstance.GetAdvise((DVASPECT*)pAspects, (ADVF*)pAdvf, ppAdvSink);