2 implementations of FGetActiveComponent
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentManager.cs (1)
352BOOL IMsoComponentManager.Interface.FGetActiveComponent(
System.Windows.Forms.Primitives (1)
Microsoft\Office\IMsoComponentManager.NativeAdapter.cs (1)
117BOOL Interface.FGetActiveComponent(msogac dwgac, IMsoComponent** ppic, MSOCRINFO* pcrinfo, uint dwReserved)
11 references to FGetActiveComponent
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
244if (ComponentManager.FGetActiveComponent(msogac.Active, component, null, 0))
System.Windows.Forms.Primitives (1)
Microsoft\Office\IMsoComponentManager.cs (1)
179/// <inheritdoc cref="Interface.FGetActiveComponent(msogac, IMsoComponent**, MSOCRINFO*, uint)"/>
System.Windows.Forms.Tests (9)
System\Windows\Forms\Application.ComponentManagerTests.cs (9)
295Assert.False(manager.FGetActiveComponent(msogac.Active, null, null, 0)); 315Assert.False(manager.FGetActiveComponent(msogac.Active, null, null, 0)); 319Assert.False(manager.FGetActiveComponent(msogac.Tracking, null, &info, 0)); 320Assert.True(manager.FGetActiveComponent(msogac.Active, null, &info, 0)); 322Assert.True(manager.FGetActiveComponent(msogac.TrackingOrActive, null, &info, 0)); 327Assert.True(manager.FGetActiveComponent(msogac.Tracking, null, &info, 0)); 329Assert.True(manager.FGetActiveComponent(msogac.Active, null, &info, 0)); 331Assert.True(manager.FGetActiveComponent(msogac.TrackingOrActive, null, &info, 0)); 337Assert.True(manager.FGetActiveComponent(msogac.Tracking, component, &info, 0));