[comp.sys.mac.programmer] Scrap/Clipboard problem

ccc_ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) (06/28/90)

You too, huh?

The problem is that MultiFinder *doesn't* track changes to the
scrap in the obvious way--by checking the ScrapCount, as you would
expect--but by monitoring calls to SystemEdit. If you want MultiFinder
to notice that you've changed the scrap, you should put in a call
like this:

	If SystemEdit(3 {Copy}) then
	  { whoopee };

Since you know one of your windows is frontmost, you're not going
to accidentally invoke the copy function in some DA.

Now, can someone from Apple answer the obvious question: why
does MultiFinder do things in such a roundabout fashion?

I know--don't tell me--there's some application from Mxxxxsxft
that won't work otherwise...

Lawrence D'Oliveiro                       fone: +64-71-562-889
Computer Services Dept                     fax: +64-71-384-066
University of Waikato            electric mail: ldo@waikato.ac.nz
Hamilton, New Zealand    37^ 47' 29" S, 175^ 19' 16" E, GMT+12:00
For someone who lives in a mushroom, he's a real fun guy.