I've written an ActiveX control in ATL and wish to set its properties from Internet Explorer. I can already do this using javascript as follows:
document.controlname.property=value;
I want to do it without Javascript in the object declaration:
<object ....>
<PARAM NAME="property" VALUE="value">
</object>
I can get it to work with controls created using MFC - the DoPropertyExchange method seems to look after this. Unfortunately I can't get it working in ATL, and ATL doesn't seem to support DoPropertyExchange.
Does anyone know how to do it in ATL?
Thanks
Dan
document.controlname.property=value;
I want to do it without Javascript in the object declaration:
<object ....>
<PARAM NAME="property" VALUE="value">
</object>
I can get it to work with controls created using MFC - the DoPropertyExchange method seems to look after this. Unfortunately I can't get it working in ATL, and ATL doesn't seem to support DoPropertyExchange.
Does anyone know how to do it in ATL?
Thanks
Dan