Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ActiveX control property exchange

Status
Not open for further replies.

DanAmos

Programmer
Jul 16, 2003
1
AU
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=&quot;property&quot; VALUE=&quot;value&quot;>
</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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top