OleComponent.IOleComponent.OnAppActivate(Int32, UInt32) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Ana bilgisayar uygulaması, etkinleştirmeyi aldığında veya kaybettiğinde bileşene uyar. Yalnızca ' a çağrı yapın OnAppActivateCore(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
Parametreler
- fActive
- Int32
TURE (1) ise, ana bilgisayar uygulaması devre dışı bırakılırsa, ana bilgisayar uygulaması etkinleştiriliyor.
- dwOtherThreadID
- UInt32
fActiveTrue ise (1), bu, devre dışı bırakılmakta olan iş parçacığının iş parçacığı kimliğidir. fActiveYanlış ise (0) Bu, etkinleştirilen pencerenin sahip olduğu iş parçacığının iş parçacığı kimliğidir.
Uygulamalar
Açıklamalar
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.