FATQW@USU.BITNET (02/17/88)
OK, I'm sure CATS is really getting tired of this, but... First, make it a shared library. If you move it to the Workbench disk, just put it in the LIBS: directory. LoadWB() would call OpenLibrary() and then CloseLibrary() on it, just to get it in memory. A new command, UnloadWB() would try to Expunge it. It also might automatically get Expunged if there's not enough memory for it. The following builds on the shared library principle. Have two functions, OpenWBWindow() and CloseWBWindow() which would create windows which can only contain icons, and which the Workbench manages. Two more functions, AddWBIcon() and RemoveWBIcon() would create icons either in custom Workbench windows created with OpenWBWindow(), or on the background window. When one of the icons gets selected or something, the application gets told about it. One more function - GetBusyPointer() - it would return a pointer to the "sleeping" pointer Workbench uses. Or, you could put the sleeping pointer in Preferences, so it's user definable, and add a new Intuition library function, SetBusyPointer(Window), which would just use the busy pointer in the window. This would be nice so the user doesn't have to see lots of variations of the busy pointer. Bryan Bryan Ford //// A computer does what \\\\ Snail: 1790 East 1400 North //// you tell it to do, not \\\\ Logan, UT 84321 \\\XX/// what you want it to do. \\\XX/// Email: FATQW@USU.BITNET \XXXX/ Murphy's Law Calendar 1986 \XXXX/