Export (0) Print
Expand All
Expand Minimize

CDHtmlDialog::SetControlProperty

Sets the property of an ActiveX control to a new value.

void SetControlProperty(
   LPCTSTR szElementId,
   DISPID dispid,
   VARIANT *pVar 
);
void SetControlProperty(
   IDispatch *pdispControl,
   DISPID dispid,
   VARIANT *pVar
);
void SetControlProperty(
   LPCTSTR szElementId,
   LPCTSTR szPropName,
   VARIANT *pVar
);

Parameters

szElementId
The HTML ID of an ActiveX control.
dispid
The dispatch ID of the property to set.
pVar
Pointer to a VARIANT containing the new property value.
pdispControl
Pointer to an ActiveX control's IDispatch interface.
szPropName
String containing the name of the property to set.

See Also

CDHtmlDialog Overview | Class Members | Hierarchy Chart | CDHtmlDialog::SetElementProperty

Show:
© 2014 Microsoft