|
-
November 25th, 2005, 11:12 AM
#1
Relationship Between ActiveX Control and <OBJECT> tag
There is probably a very simple answer to this but it has been eluding me all day. I have a fairly simple ActiveX control that I have written which works as it should when displayed in a browser.
The problem I have is that I'm not sure what the HTML <PARAM NAME="" VALUE=""> tags within the <OBJECT> tag actually call within my control. I have added a property using class wizard and attempted to set it using the <PARAM> tag. However, the 'set' method for this property doesn't get called and the value doesn't seem to change. What am I missing? I am new to writing ActiveX controls so perhaps it's just me misunderstanding the fundamental way in which these controls function.
Any help greatly appreciated.
-
November 25th, 2005, 11:24 AM
#2
Re: Relationship Between ActiveX Control and <OBJECT> tag
Hi,
Have you looked at MSDN?
Jeff
-
November 25th, 2005, 12:07 PM
#3
Re: Relationship Between ActiveX Control and <OBJECT> tag
Thanks but I've searched and searched through MSDN but haven't found the answer I seek. The link you provided is specific to the HTML Help ActiveX control but still doesn't tell me what will be called within my control.
-
November 25th, 2005, 02:59 PM
#4
Re: Relationship Between ActiveX Control and <OBJECT> tag
 Originally Posted by rcharisse
The problem I have is that I'm not sure what the HTML <PARAM NAME="" VALUE=""> tags within the <OBJECT> tag actually call within my control. I have added a property using class wizard and attempted to set it using the <PARAM> tag. However, the 'set' method for this property doesn't get called and the value doesn't seem to change. What am I missing?
You have to implement IPersistPropertyBag interface in your coclass. See my explanations regarding MFC ActiveX here.
Best regards,
Igor
-
November 28th, 2005, 04:47 AM
#5
Re: Relationship Between ActiveX Control and <OBJECT> tag
Thanks for your help, that's all I needed to know
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|