Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!voder!apple!goldman From: goldman@apple.UUCP (Phil Goldman) Newsgroups: comp.sys.mac Subject: Re: More clipboard strangeness under MultiFinder Message-ID: <6876@apple.UUCP> Date: Wed, 2-Dec-87 13:27:58 EST Article-I.D.: apple.6876 Posted: Wed Dec 2 13:27:58 1987 Date-Received: Sat, 5-Dec-87 17:30:27 EST References: <12355088678.214.P.PRIAPUS@HAMLET.STANFORD.EDU> <6875@apple.UUCP> Reply-To: goldman@apple.UUCP (Phil Goldman) Organization: Apple Computer Inc., Cupertino, USA Lines: 29 In article <6875@apple.UUCP> lsr@apple.UUCP (Larry Rosenstein) writes: >This means that your picture is going into the clipboard, but Multifinder is >not telling the other applications about it. > >I think the solution would be to call SystemEdit with a parameter of 3 >(=Copy); as long as your application window is frontmost, SystemEdit will >return FALSE (it won't tell a DA to do the Copy), but Multifinder will think >that a Copy has been done. > >I don't have any documentation that indicates whether this is the "right" >thing to do. I thought that I had read something about this, but now I >can't find the reference. > Unfortunately, there really is no clean way to do this right now. Calling _SysEdit as explained above will work, but a safer way is to call _MenuKey(cmd-C), assuming of course that your app has an Edit menu with cut, copy, etc. items. This way you don't have to worry about any possible side effects on DAs. The reason all this is necessary is that it was determined that copying large handles from application to application during layer switches caused too great a performance hit. Therefore, the clipboard is only copied when MF senses that the user has changed it. We realize that this causes a problem for application-generated changes and we hope to provide a standardized method for doing so in the future. -Phil Goldman Apple Computer