Article View: net.micro.mac
Article #1532Re: Control Manager query
From: David HM Spector
Date: Mon, 27 May 1985 23:19
Date: Mon, 27 May 1985 23:19
15 lines
1356 bytes
1356 bytes
You write your own controls just like any other piece of code, 'cause thats all they is. For example, if you have ever seen Don Brown's "Executive Dec- ision Maker", he draw all of the buttons and things by hand. What you do is write a subroutine that makes all the quickdraw/sound/<Pick your manager> calls and returns some expected value. This is, in a more optomized form, exactly what the mac does itself. For a good idea of whats going on, write a tiny application that just lets you click a button, or move a scroll bar, and use MacsBug to watch the calls as they happen; you can also disassemble the control that way too..... - Hope that helps a little... Dave Spector NYU/acf Systems Group
Technical Details
Message-ID:
<1030029@acf4.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!bellcore!decvax!genrad!panda!talcott!harvard!seismo!cmcl2!acf4!spectorReferences:
<7484@ucbvax.ARPA>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version nyu B notes v1.5 12/10/84; site acf4.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!bellcore!decvax!genrad!panda!talcott!harvard!seismo!cmcl2!acf4!spector From: spector@acf4.UUCP (David HM Spector) Newsgroups: net.micro.mac Subject: Re: Control Manager query Message-ID: <1030029@acf4.UUCP> Date: Mon, 27-May-85 19:19:00 EDT Article-I.D.: acf4.1030029 Posted: Mon May 27 19:19:00 1985 Date-Received: Thu, 30-May-85 08:06:31 EDT References: <7484@ucbvax.ARPA> Organization: New York University Lines: 15