etsai@hstbme.mit.edu (Eugene C Tsai) (06/08/90)
I am trying to write a program that uses floating windows like those that can be found on the "MacPaint-like" demonstration program in Think C. I have been racking my brains over the source code for that program. Because I don't really have much experience with object oriented programming, it doesn't make much sense to me. Does anyone have sample code for implementing floating windows that uses non-object oriented C with standard toolbox calls? thanks eugene tsai
anders@penguin (Anders Wallgren) (06/09/90)
Eugene, What you want to do is get the April/May 1988 issue of MacTutor magazine (if you can't find the actual issue, you can buy Volume 4 of the book that they sell which contains all the articles for a given year) I recently asked MACDTS pretty much the same question, and that was their answer to me. The article has a sample application and WDEF (and an MDEF that lets you tear off menus a la HyperCard) and explains in depth how to manage floating windows. If you don't want to type in the code, you can either buy a source disk or let me know - I typed in the WDEF, but not the sample code since I'm using MacApp. anders