2 implementations of FGetActiveComponent
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentManager.cs (1)
352
BOOL IMsoComponentManager.Interface.
FGetActiveComponent
(
System.Windows.Forms.Primitives (1)
Microsoft\Office\IMsoComponentManager.NativeAdapter.cs (1)
117
BOOL 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)
244
if (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)
295
Assert.False(manager.
FGetActiveComponent
(msogac.Active, null, null, 0));
315
Assert.False(manager.
FGetActiveComponent
(msogac.Active, null, null, 0));
319
Assert.False(manager.
FGetActiveComponent
(msogac.Tracking, null, &info, 0));
320
Assert.True(manager.
FGetActiveComponent
(msogac.Active, null, &info, 0));
322
Assert.True(manager.
FGetActiveComponent
(msogac.TrackingOrActive, null, &info, 0));
327
Assert.True(manager.
FGetActiveComponent
(msogac.Tracking, null, &info, 0));
329
Assert.True(manager.
FGetActiveComponent
(msogac.Active, null, &info, 0));
331
Assert.True(manager.
FGetActiveComponent
(msogac.TrackingOrActive, null, &info, 0));
337
Assert.True(manager.
FGetActiveComponent
(msogac.Tracking, component, &info, 0));