Alright, we all know that the Dock has the magical power to broadcast (or however) to windows that they should not go past X or Y when Zoomed. Now does anyone have any idea how this actually happens... I have played around with the CGSPrivate.h and CGSWindow.h and they are so helpful... Now playing around with the reports feature of PathFinder I got the following lists of methods that the Dock Uses... Does this help anyone understand how its done?
If it doesn't, thats ok, hope someone gets anything from this.

U _CGSAddTrackingRect
U _CGSArrayCount
U _CGSCStringValue
U _CGSClearWindowListTags
U _CGSClearWindowTags
U _CGSCoalesceEventsInMask
U _CGSCreateBoolean
U _CGSCreateCString
U _CGSCurrentInputPointerPosition
U _CGSDisableDisableUpdate
U _CGSDisableUpdate
U _CGSDisplayStatusQuery
U _CGSEnableAutoReleaseOnEvents
U _CGSEventIsAppUnresponsive
U _CGSEventSetAppIsUnresponsiveNotificationTimeout
U _CGSExtractEventRecordsFromMessage
U _CGSForceShowCursor
U _CGSGetActiveDisplayList
U _CGSGetClientWindowCount
U _CGSGetClientWindowList
U _CGSGetCoalesceEventsMask
U _CGSGetConnectionIDForPSN
U _CGSGetCurrentCursorLocation
U _CGSGetCurrentMouseButtonState
U _CGSGetDebugOptions
U _CGSGetDisplayBounds
U _CGSGetDisplayDepth
U _CGSGetDisplaysWithPoint
U _CGSGetEventPort
U _CGSGetIntegerAtIndex
U _CGSGetNextEventRecord
U _CGSGetScreenRectForWindow
U _CGSGetSystemBackgroundWindow
U _CGSGetWindowAlpha
U _CGSGetWindowBounds
U _CGSGetWindowDepth
U _CGSGetWindowFlushSeed
U _CGSGetWindowGeometry
U _CGSGetWindowLevel
U _CGSGetWindowListWithTags
U _CGSGetWindowProperty
U _CGSGetWindowTags
U _CGSGetWorkspace
U _CGSGetWorkspaceWindowCount
U _CGSGetWorkspaceWindowList
U _CGSInputButtonState
U _CGSInputModifierKeyState
U _CGSIntegerValue
U _CGSLockWindowBits
U _CGSLockWindowRectBits
U _CGSMoveWindow
U _CGSNewConnection
U _CGSNewEmptyRegion
U _CGSNewRegionWithRect
U _CGSNewWindowWithOpaqueShape
U _CGSOrderMenuBarWindow
U _CGSOrderWindow
U _CGSOrderWindowList
U _CGSPingConnection
U _CGSPointInRegion
U _CGSPostBroadcastNotification
U _CGSReenableDisableUpdate
U _CGSReenableUpdate
U _CGSRegisterConnectionNotifyProc
U _CGSRegisterCursorWithData
U _CGSReleaseConnection
U _CGSReleaseObj
U _CGSReleaseRegion
U _CGSReleaseWindow
U _CGSReleaseWindowList
U _CGSSetBackgroundEventMask
U _CGSSetBackgroundEventMaskAndShape
U _CGSSetConnectionProperty
U _CGSSetDebugOptions
U _CGSSetDockRect
U _CGSSetEventCapture
U _CGSSetHotKeyEnabled
U _CGSSetOtherUniversalConnection
U _CGSSetRegisteredCursor
U _CGSSetSharedWindowState
U _CGSSetSymbolicHotKey
U _CGSSetSymbolicHotKeyWithExclusion
U _CGSSetSystemDefinedCursor
U _CGSSetUniversalOwner
U _CGSSetWindowAlpha
U _CGSSetWindowClipShape
U _CGSSetWindowDepth
U _CGSSetWindowLevel
U _CGSSetWindowListAlpha
U _CGSSetWindowListSystemAlpha
U _CGSSetWindowListTags
U _CGSSetWindowOpacity
U _CGSSetWindowShadowAndRimParameters
U _CGSSetWindowShadowParameters
U _CGSSetWindowShapeWithWeighting
U _CGSSetWindowTags
U _CGSSetWindowTransform
U _CGSSetWindowTransforms
U _CGSSetWindowType
U _CGSSetWindowWarp
U _CGSUnionRegionWithRect
U _CGSUniqueCString
U _CGSUnlockWindowBits
U _CGSUnlockWindowRectBits
U _CGSizeEqualToSize
U _CGSizeZero
U _CGStyleCreateWithDictionary
