CAxProperty::Initialize

boolCAxProperty::Initialize(IDispatch*pDisp, DISPIDdi, BSTRbstrName, BSTRbstrDesc, ITypeInfo* pTypeInfo =NULL)

Initialize the property using ActiveX control information.

Defined in: AxProperty.h

Return Value

Returns true if successful, otherwise false.

Parameters

pDisp

IDispatch interface of ActiveX control.

di

Dispatch ID of property to initialize.

bstrName

Name of property.

bstrDesc

Property description

NULL

Optional pointer to type information