CommonMessagePump.IOleComponent.OnAppActivate(Int32, UInt32) 方法

定义

当主机应用程序获得或失去激活时,通知组件。

 virtual void Microsoft.VisualStudio.OLE.Interop.IOleComponent.OnAppActivate(int fActive, System::UInt32 dwOtherThreadID) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::OnAppActivate;
 virtual void Microsoft.VisualStudio.OLE.Interop.IOleComponent.OnAppActivate(int fActive, unsigned int dwOtherThreadID) = Microsoft::VisualStudio::OLE::Interop::IOleComponent::OnAppActivate;
void Microsoft.VisualStudio.OLE.Interop.IOleComponent.OnAppActivate(int fActive, unsigned int dwOtherThreadID);
void IOleComponent.OnAppActivate (int fActive, uint dwOtherThreadID);
abstract member Microsoft.VisualStudio.OLE.Interop.IOleComponent.OnAppActivate : int * uint32 -> unit
override this.Microsoft.VisualStudio.OLE.Interop.IOleComponent.OnAppActivate : int * uint32 -> unit
Sub OnAppActivate (fActive As Integer, dwOtherThreadID As UInteger) Implements IOleComponent.OnAppActivate

参数

fActive
Int32

如果正在激活应用程序,则为 True; 否则为 false。

dwOtherThreadID
UInt32

拥有窗口的线程的 ID。

实现

Microsoft.Internal.VisualStudio.Shell.Interop.IOleComponent2Private.OnAppActivate(System.Int32,System.UInt32)

注解

有关更多信息,请参见OnAppActivate

适用于