> i have an activeX control for MS Word. this activeX control has few
> properties including an object as a property. i create this inner
[quoted text clipped - 5 lines]
> Viewer. its empty.
> i don't know why it happens.

Signature
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
Thanks Igor.
yes i have implemented the persistance interface and also listed the inner
object as property in the COM_PROP_MAP of control. The thing which irritate
me is that if i insert some data into the property of the control and then
after saving the document when i go to close the Word y it again asks me "Do
you want to save Doc".
Ahmad Jalil Qarshi!
> > i have an activeX control for MS Word. this activeX control has few
> > properties including an object as a property. i create this inner
[quoted text clipped - 16 lines]
> land, and it could be dangerous sitting under them as they fly
> overhead. -- RFC 1925
Igor Tandetnik - 21 Mar 2005 16:20 GMT
> yes i have implemented the persistance interface and also listed the
> inner object as property in the COM_PROP_MAP of control. The thing
> which irritate me is that if i insert some data into the property of
> the control and then after saving the document when i go to close the
> Word y it again asks me "Do you want to save Doc".
Looks like a problem with how IPersistStreamInit::IsDirty is
implemented. Check that after the control is saved for the first time,
IsDirty returns false both for the control itself and for the inner
object. If it does not, try to figure out why not.

Signature
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
Igor Tandetnik - 21 Mar 2005 16:23 GMT
> yes i have implemented the persistance interface and also listed the
> inner object as property in the COM_PROP_MAP of control. The thing
> which irritate me is that if i insert some data into the property of
> the control and then after saving the document when i go to close the
> Word y it again asks me "Do you want to save Doc".
Looks like a problem with how IPersistStreamInit::IsDirty is
implemented. Check that after the control is saved for the first time,
IsDirty returns false both for the control itself and for the inner
object. If it does not, try to figure out why not.

Signature
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925