Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!lll-lcc!ames!ucbcad!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU.UUCP Newsgroups: comp.sys.amiga Subject: Re: Matt's new DME (Iconifying!) Message-ID: <8704031013.AA17765@cory.Berkeley.EDU> Date: Fri, 3-Apr-87 05:13:14 EST Article-I.D.: cory.8704031013.AA17765 Posted: Fri Apr 3 05:13:14 1987 Date-Received: Sun, 5-Apr-87 01:29:50 EST Sender: daemon@ucbvax.BERKELEY.EDU Lines: 39 >He has implemented a feature that Amiga programmers should sit up and >take notice of, namely the ability to iconify the window into a one >line window. This has got to be one of the handiest features that >... >Now, I can draw an argument over the way it was implemented, but that >is a side issue. I doubt most programs would use the right button to >iconify/deiconify anyway :-). Probably a gadget is the most >logical/elegant way to handle it, maybe just to the left of the >... Yah, this is something that should be in intuition for V1.3 ... add another system gadget (and associated NewWindow flag) for an 'iconify' gadget. It shouldn't be to hard for C-A to integrate an iconify into the window, since all you really have to do is fool around with the cliprects and put them off the screen... sortof like a superbitmap window. The program could then render into the window as if nothing had ever happenned to it! If you added associated IDCMP flags, the program could modify the title (or whatever) of the window to the 'iconify' text and back to normal again. Using the original ICON is *not* going to work. Not only is there no way for the window to know what that ICON was, but there might not be an ICON (CLI or SHELL driven), and in anycase this requires INTUITION to know more about the workbench and the icon library (a definate NO-NO). The particular implementation I chose in DME.. using the right mouse button to iconify the window, obviously only works if you don't intend to have menus in your program. DME doesn't use menu's, so I saw a convenient hole to stick the option in. BTW Sorry about posting DME three times (now at version 1.22). 1.22's new features are now stable enough that I can let it go for a couple of weeks (I hope). Also, there is an undocumented feature in DME 1.22 .... you can do something like DME a.c b.c c.c d.c ... give multiple files, in which case DME opens all the files in separate, smaller than normal windows, and causes iconify to place the iconify windows in different places. -Matt