GENTP
asked on
How do you read the <param> tags in an ATL ActiveX control?
I'm making an ATL ActiveX control and I want to read in the param tags which are nested inside the object tag but I can't figure out how to do it. Does anyone know where I can find a sample or documentation on how to do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>>If I make get_Mission and put_Mission functions they never seem to get called. Got any ideas?
They will be generated by teh framework, just like in the article I linked.
They will be generated by teh framework, just like in the article I linked.
ASKER
I have this defined at the top of my class
public IPersistPropertyBagImpl<Ca
And then
BEGIN_PROP_MAP(Cax3DPlugin
PROP_DATA_ENTRY("_cx", m_sizeExtent.cx, VT_UI4)
PROP_DATA_ENTRY("_cy", m_sizeExtent.cy, VT_UI4)
PROP_ENTRY("Mission", 1, CLSID_NULL)
END_PROP_MAP()
(Mission being the text value that I'm trying to read) and thats about as far as I have managed to get. If I make get_Mission and put_Mission functions they never seem to get called. Got any ideas?