[comp.windows.news] Dialog /destroy explained

korp@tripoli.ees.anl.gov (11/08/89)

We designed /destroy to do a killprocessgroup for two reasons.

1) we tried to use a killprocess but for some reason that never seemed to
   actually kill all of relevant event managers or references to objects
   we created.
2) Since we couldn't get killprocess to work and the designers of the Lite
   toolkit used killprocessgroup we just copied what they did and chalked it
   up to just another bug.


Dialog unmaps the DialogCanvas because we used to get zombie canvases on the
screen while testing and debugging it. If you look in the definition of
litewindow you will see that /DestroyFrame does/did the same thing with the
frame and icon canvases while using killprocess. Since this code is now
commented out I assume killprocessgroup cleared up their problems too.


			Peter
			Argonne National Laboratory
			korp@athens.ees.anl.gov