J
Jack Smith
hi!
I have a ActiveX control Written in VC7.1 for Word. when i insert my control
into Word and close the doc after saving the document, it again asks me Do
you want to save the changes?
But on thing to be noted is that I handled the event DocumentBeforeClose and
in this i verify that the document is saved or not. and the doc. is not
modified but Word warns me. I dont know why?
I also pass fClearDirty = TRUE in the following function call.
Anybody there to solve my problem.
HRESULT IPersistStreamInit_Save(LPSTREAM pStm, BOOL fClearDirty
,ATL_PROPMAP_ENTRY* pMap)
Thanks
Jack
I have a ActiveX control Written in VC7.1 for Word. when i insert my control
into Word and close the doc after saving the document, it again asks me Do
you want to save the changes?
But on thing to be noted is that I handled the event DocumentBeforeClose and
in this i verify that the document is saved or not. and the doc. is not
modified but Word warns me. I dont know why?
I also pass fClearDirty = TRUE in the following function call.
Anybody there to solve my problem.
HRESULT IPersistStreamInit_Save(LPSTREAM pStm, BOOL fClearDirty
,ATL_PROPMAP_ENTRY* pMap)
Thanks
Jack