Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.
Requirements
Header: afxdhtml.h