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

 

Microsoft internal use only.

Namespace:   Microsoft.VisualStudio.PlatformUI.OleComponentSupport
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^

If non-NULL, then this is the component that is being activated.

fSameComponent
Type: System::Int32

True if pic is the component that called this method.

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

OLECRINFO of pic if is non-null.

fHostIsActivating
Type: System::Int32

If pic is null and this is TRUE (1) it indicates the host is activating. If pic is null and this is FALSE (0) then there is no current active object.

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

If fHostIsActivating is TRUE (1) then this is the hosts OLECHOSTINFO, otherwise this is null.

dwReserved
Type: System::UInt32

Reserved for future use, should be 0.

Return to top
Show: