hartkopf@tramp.Colorado.EDU (Jeff Hartkopf) (09/25/89)
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. Thanks very much. Jeff Hartkopf Internet: hartkopf@tramp.Colorado.EDU
dlyons@Apple.COM (David Lyons) (09/26/89)
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.
hartkopf@tramp.Colorado.EDU (Jeff Hartkopf) (10/02/89)
Dave Lyons (or anyone else who knows): Could you tell me the function header for the TaskMasterDA call in System Software 5.0? Also, what is the tool set number and tool number? Thanks much. Jeff Hartkopf Internet: hartkopf@tramp.Colorado.EDU
MMPR004@ECNCDC.BITNET (10/02/89)
in c it would be extern pascal Word TaskMasterDA(eventMask Word, taskRecPtr Pointer) where eventMask is not used. so assembly would be result:word eventmask:word taskRecPtr : long
dlyons@Apple.COM (David Lyons) (10/04/89)
In article <12268@boulder.Colorado.EDU> hartkopf@tramp.Colorado.EDU (Jeff Hartkopf) writes: >Dave Lyons (or anyone else who knows): > >Could you tell me the function header for the TaskMasterDA call in >System Software 5.0? Also, what is the tool set number and tool number? >Thanks much. function TaskMasterDA(eventMask: integer; taskRec: taskRecordPtr): integer; tool $0E, $5F; (I invented "taskRecordPtr"...you probably need to look up a real type in your interface files.) -- --Dave Lyons, Apple Computer, Inc. | DAL Systems AppleLink--Apple Edition: DAVE.LYONS | P.O. Box 875 America Online: 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.