CommonMessagePump::IOleComponent::OnActivationChange Method (IOleComponent^, Int32, array<OLECRINFO>^, Int32, array<OLECHOSTINFO>^, UInt32)

 

Notifies the component when a new object is being activated.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

private:
virtual void OnActivationChange(
	IOleComponent^ pic,
	int fSameComponent,
	array<OLECRINFO>^ pcrinfo,
	int fHostIsActivating,
	array<OLECHOSTINFO>^ pchostinfo,
	unsigned int dwReserved
) sealed = IOleComponent::OnActivationChange

Parameters

pic
Type: Microsoft.VisualStudio.OLE.Interop::IOleComponent^

The component that is being activated

fSameComponent
Type: System::Int32

true if pic is the same as the callee of this method, otherwise false.

pcrinfo
Type: array<Microsoft.VisualStudio.OLE.Interop::OLECRINFO>^

The component registration information.

fHostIsActivating
Type: System::Int32

true if the host that is being activated, otherwise false.

pchostinfo
Type: array<Microsoft.VisualStudio.OLE.Interop::OLECHOSTINFO>^

The OLE host information.

dwReserved
Type: System::UInt32

Reserved.

See OnActivationChange for more information.

Return to top
Show: