Why more than one picture added into .doc file can't be seen but single can? [modified]
-
Hi all! I am developing an add-in for Word 2003. It can insert a bitmap into .doc file after some operations by user. Question: When I insert only one BMP into .doc file, the picture can display correctly. If more than one BMP inserted, the picture can't displayed after save and re-open. I research this problem and find that the method named "InPlaceActivate" is called while only one BMP inserted. If more BMPs are inserted, this method can't be called. I am not sure which interface owned this method. So I research the interfaces be queried in both scenery. The different between them is that the interface as "IID_IOleXXX" will be queried if I add only one BMP. If I add more BMP into .doc file, those interfaces as "IID_IOleXXX" aren't be queried. Then the BMP can't be displayed. I think this is the reason. I try to resolve it by many ways. But all failed. Is there anybody could be kind to help me? Thank you! Best regards!
There is some white cloud floating on the blue sky. That's the landscape I like.
modified on Tuesday, March 29, 2011 4:06 AM