home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!ames!data.nas.nasa.gov!taligent!apple!mumbo.apple.com!gallant.apple.com!NewsWatcher!user
- From: jpugh@apple.com (Jon Pugh)
- Newsgroups: comp.sys.mac.programmer
- Subject: Closing AppleTalk
- Message-ID: <jpugh-050992190641@90.20.3.218>
- Date: 6 Sep 92 02:11:35 GMT
- Sender: news@gallant.apple.com
- Followup-To: comp.sys.mac.programmer
- Organization: Apple Computer, Inc.
- Lines: 16
-
- I'm tired of using the Chooser to turn Appletalk on and off on my PowerBook
- (way too may OK buttons), so I tried writing a simple FKEY to toggle
- AppleTalk:
-
- IF IsMPPOpen THEN
- err := MPPClose
- ELSE
- err := MPPOpen;
-
- This seems to work, but someone keeps calling MPPOpen after I close it and
- everything (like File Sharing) starts back up.
-
- Does anyone know what else I need to do to turn AppleTalk off? What does
- the Chooser do?
-
- Jon
-