Article View: adobe.indesign.sdk
Article #4292Re: kFitContentToFrameCmdBoss generates a crash
From: Satoru_Fujimori
Date: Fri, 25 Jun 2004 13:05
Date: Fri, 25 Jun 2004 13:05
17 lines
1177 bytes
1177 bytes
Hello florian, I think kFitContentToFrameCmdBoss should be used for "Contnet of frame". fitContentToFrameCmd->SetItemList(UIDList(frameUIDRef)); You should do SetItemList a child item of this frame,not for this frame. InterfacePtr<frameUIDRef> frameHier(frameUIDRef,UseDefaultIID()); InterfacePtr<frameUIDRef> contentHier(frameHier->QueryChild(0)); UIDRef contentRef=GetUIDRef(contentHier); fitContentToFrameCmd->SetItemList(UIDList(contentRef)); Hope this works amd helps. Satoru Fujimori KJ Systems,Inc.
Technical Details
Message-ID:
<3bb4c5e6.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<3bb4c5e6.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f63e9,a06ff4a4a4939606 X-Google-Attributes: gidf63e9,public From: Satoru_Fujimori@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.indesign.sdk Subject: Re: kFitContentToFrameCmdBoss generates a crash Message-ID: <3bb4c5e6.0@webx.la2eafNXanI> Date: Fri, 25 Jun 2004 06:05:23 -0700 References: <3bb4c5e6.-1@webx.la2eafNXanI> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit