Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!uakari.primate.wisc.edu!ginosko!gem.mps.ohio-state.edu!apple!dlyons
From: dlyons@Apple.COM (David Lyons)
Newsgroups: comp.sys.apple
Subject: Re: TaskMasterDA()
Message-ID: <35016@apple.Apple.COM>
Date: 25 Sep 89 22:13:30 GMT
References: <12033@boulder.Colorado.EDU>
Organization: Apple Computer Inc, Cupertino, CA
Lines: 25

In article <12033@boulder.Colorado.EDU> hartkopf@tramp.Colorado.EDU (Jeff Hartkopf) writes:
>Could someone please explain how to use TaskMasterDA()?  I need to use
>this for at least 2 things right now:  an NDA window with scroll bars and
>also a scrollable list.
>[...]
>Jeff Hartkopf

When your NDA receives an Event through its Action entry point, copy the
16-byte event record into a (larger) extended task record, fill in the
wmTaskMask field (4 bytes) with whatever combination of bits you want, and
feed TaskMasterDA your extended task record.  At that point, you can handle
the result just like you would if you were an application calling TaskMaster.

By the way, there are lots of nifty new bits defined in the wmTaskMask field
for System Software 5.0--so be sure to buy the Toolbox Reference Vol 3 draft
from APDA (A0229LL/A, $35; 1-800-282-APDA).
-- 

 --Dave Lyons, Apple Computer, Inc.          |   DAL Systems
   AppleLink--Apple Edition: DAVE.LYONS      |   P.O. Box 875
   AppleLink--Personal Edition: Dave Lyons   |   Cupertino, CA 95015-0875
   GEnie: D.LYONS2 or DAVE.LYONS         CompuServe: 72177,3233
   Internet/BITNET:  dlyons@apple.com    UUCP:  ...!ames!apple!dlyons

   My opinions are my own, not Apple's.