SingleTaskIdleManager.IOleComponent.OnAppActivate(Int32, UInt32) Yöntem

Tanım

Ana bilgisayar uygulaması, etkinleştirmeyi aldığında veya kaybettiğinde bileşene bildirir.

 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

Parametreler

fActive
Int32

true Uygulama etkinleştiriliyorsa, false etkinleştirme kaybediliyorsa.

dwOtherThreadID
UInt32

Pencerenin sahibi olan iş parçacığının tanımlayıcısı.

Uygulamalar

Açıklamalar

fActiveİse true , ana bilgisayar uygulaması etkinleştirilir ve dwOtherThreadID devre dışı bırakılan pencerenin sahibi olan iş parçacığının tanımlayıcısıdır. fActiveİse false , ana bilgisayar uygulaması devre dışı bırakılır ve dwOtherThreadID etkinleştirilen pencerenin sahibi olan iş parçacığının tanımlayıcısıdır.

Bu yöntem, hem etkinleştirilen pencere hem de devre dışı bırakılmakta olan bir pencere, konak uygulamasına ait olduğunda çağrılmaz.

Şunlara uygulanır