CAxProperty::Initialize

bool CAxProperty::Initialize(IDispatch* pDisp, DISPID di, BSTR bstrName, BSTR bstrDesc, 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