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: 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 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/ 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