🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.indesign.sdk
Article #4337

Re: Story lock

#4337
From: Ken_Sadahiro
Date: Tue, 22 Jun 2004 17:26
6 lines
1228 bytes
The void* changedBy parameter can be typecast to ICommand*. Once you do that, you can get the item list, which should contain kTextStoryBoss UIDs, so using those UIDs, query for ITextModel.

Most commands pass in a pointer to "itself" via the void* parameter, so you can use this technique to find out about what changed.
(Sometimes notification comes by way of selection or UI related events, so the void* may be of a different type/value.)

See plugin development online training "Session 6: Messaging" on information about observers.
Technical Details
Message-ID: <3bb4b7b8.0@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!proxad.net!62.253.162.219.MISMATCH!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
References: <3bb4b7b8.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f63e9,5c3d7cc593572f6c
X-Google-Attributes: gidf63e9,public
From: Ken_Sadahiro@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!proxad.net!62.253.162.219.MISMATCH!news-out.ntli.net!newsrout1.ntli.net!news-in.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.indesign.sdk
Subject: Re: Story lock
Message-ID: <3bb4b7b8.0@webx.la2eafNXanI>
Date: Tue, 22 Jun 2004 10:26:55 -0700
References: <3bb4b7b8.-1@webx.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit