Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!ll-xn!cit-vax!tybalt.caltech.edu!palmer From: palmer@tybalt.caltech.edu (David Palmer) Newsgroups: comp.sys.mac Subject: Re: need comments on MacExpress, Programmer's Extender Message-ID: <3453@cit-vax.Caltech.Edu> Date: Mon, 3-Aug-87 00:09:47 EDT Article-I.D.: cit-vax.3453 Posted: Mon Aug 3 00:09:47 1987 Date-Received: Mon, 3-Aug-87 03:55:47 EDT References: <2240@trwrb.UUCP> <331@ge-mc3i.UUCP> <7574@shemp.UCLA.EDU> Sender: news@cit-vax.Caltech.Edu Reply-To: palmer@tybalt.caltech.edu.UUCP (David Palmer) Organization: California Institute of Technology Lines: 19 Keywords: MacExpress, Programmer's Extender, programming I wrote a crude, badly documented modal dialog handler in Lightspeed C which allows you to use dialog boxes for data entry (check boxes, radio buttons, textedit boxes for entering numbers and text, etc.) and program control (you can have a certain routine executed when a certain button is pushed, etc.) The nice thing about it is that you set up the dialog box with your favorite resource creation tool (which is, of course, resedit) and in your C code, you have a data structure which contains the types of each item, pointers to where the data should go, and pointers to the function to be executed (optional). The handler is included in the source for the Orbit program archived on sumex. David Palmer palmer@tybalt.caltech.edu ...seismo!cit-vax!tybalt! T Path