CalcVisBehind
WindowPeek theWindow ; first window to calculate
This low-level function is used by the Window Manager to calculate the
visible region of a window and all windows behind it.
theWindow is a WindowPeek (pointer to a WindowRecord) of the window to calculate. The visRgn field of this structure is modified by this function.
badRgn defines a region that has been adversely affected by some previous
operation. This function affects only those windows that intersect
with this region.
Notes: This should be called after calling PaintBehind.