rae@geaclib.UUCP (Reid Ellis) (01/16/89)
One of the problems with writing code on the mac to handle windows is that you have to handle things like window-moving, window-resizing, and window-closing yourself. I've had Amiga friends tell me how their system does all of this for them. Now, the thought occured to me that it would be possible to write a WDEF that would handle many of these things for you, if not all. The least offensive WDEF would handle dragging on its own, since most people really don't want to know about that. There could be a number of different variation codes, specifying how much the WDEF should handle. 1 = Handle window resizing 2 = Handle window scrolling [requires CNTLs] [this includes zooming/unzooming] 4 = Handle updates .. etc These would all handle window movement [as far as I can tell, this would be completely non-intrusive]. Handling scrolling on its own would require not much more than a SetOrigin and an update event, I would think. Now I'm going to go scratch my head over a copy of IM I/II/III and look more deeply into this. Reid -- Reid Ellis geaclib!rae@geac.uucp