[comp.sys.mac.programmer] Windowoids

aoki@husc8.HARVARD.EDU (Edwin Aoki) (02/18/90)

Does anybody out there in netland know the definitions and such for 
windowoids (try saying that 3 times fast!) - those cute mini-windows that
hang above everything else don't get trapped as the FrontWindow()?

I see the GhostWindow parameter in IM I, but as I understand it, that's only
one window, right?  How do I place some number of floating windows above
the FrontWindow (like SuperCard or Studio/8 et al.)?

Thanks in advance for help...

(please mail responses if possible....)

-Edwin Aoki
(aoki@husc8.harvard.edu/aoki@husc8.bitnet)

tim@hoptoad.uucp (Tim Maroney) (02/19/90)

In article <1722@husc6.harvard.edu> aoki@husc8.UUCP (Edwin Aoki) writes:
>Does anybody out there in netland know the definitions and such for 
>windowoids (try saying that 3 times fast!) - those cute mini-windows that
>hang above everything else don't get trapped as the FrontWindow()?
>
>I see the GhostWindow parameter in IM I, but as I understand it, that's only
>one window, right?  How do I place some number of floating windows above
>the FrontWindow (like SuperCard or Studio/8 et al.)?

The answer -- it's a major pain.  You have to go through and modify the
way you handle practically everything you do with windows, like moving,
dragging, zooming, clicking, etc.  System 7.0 may make it easier in the
special case where you have windows floating above all other layers,
but that code won't run under 6.0 most likely.  In addition, this will
almost certainly not address the equally common case where you want a
subwindow to float only above a single window, such as a
document-type-specific tear-off menu or a footnote window.
-- 
Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com

FROM THE FOOL FILE:
"American women, especially some of those on the net, might profit by being
 less concerned with their careers and more concerned with getting a good,
 old fashioned roll in the hay."
	-- William J. Fallon, wjf@cbnews.att.com, on soc.women
	  (also uses the alias Walter J. Ficklestein)

wilkins@jarthur.Claremont.EDU (Mark Wilkins) (02/19/90)

In article <10303@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes:
>In article <1722@husc6.harvard.edu> aoki@husc8.UUCP (Edwin Aoki) writes:
>>Does anybody out there in netland know the definitions and such for 
>>windowoids (try saying that 3 times fast!) - those cute mini-windows that
>>hang above everything else don't get trapped as the FrontWindow()?
>>
>>I see the GhostWindow parameter in IM I, but as I understand it, that's only
>>one window, right?  How do I place some number of floating windows above
>>the FrontWindow (like SuperCard or Studio/8 et al.)?
>
>The answer -- it's a major pain.  You have to go through and modify the
>way you handle practically everything you do with windows, like moving,
>dragging, zooming, clicking, etc.


  The solution I found, which is less than perfect for almost any
application which already has some code written for it but worked it my
case, was to use the support for floating windows in THINK C 4.0's Think
Class Library.

  It is quite possible that if you own a copy of THINK C, even if you aren't
using TCL the code in CFWDesktop.c might give you a few hints about how to
implement it.  It should be in the "More Classes" folder of the distribution.

-- Mark Wilkins
   wilkins@jarthur.claremont.edu

kent@sunfs3.camex.uucp (Kent Borg) (02/21/90)

In article <10303@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes:
>System 7.0 may make it easier in the
>special case where you have windows floating above all other layers,
>but that code won't run under 6.0 most likely.  In addition, this will
>almost certainly not address the equally common case where you want a
>subwindow to float only above a single window, such as a
>document-type-specific tear-off menu or a footnote window.

True, 7.0 code will not run under 6.0, but 7.0 (as described last May)
is supposed to do what you want with windows.

7.0 does to the Window Manager what HFS did to the File Manager.
"Windows" will now be either windows or they will be layers.  Layers
can contain further windows or further layers.  Windows can be seen
and clicked on.  As with MultiFinder, windows in a given layer all sit
together.

The preliminary notes on 7.0 say that windows and layers should
usually not be siblings, but that is exactly what you would want to
get the effect you mentioned.

7.0 will do it.

-- 
Kent Borg                lloyd!kent@husc6.harvard.edu  or  ...!husc6!lloyd!kent
MacNet: kentborg                              H:(617) 776-6899  W:(617)426-3577
"So simple minded.  Kindergarten level with no content, but it's beautifully 
landscaped, and the architecture is interesting."    -my mother on Epcot Center