Coordinate System: ---------------------------------------------------------------------------- Coordinates passed to window functions are relative to the window itself. wT,wL,wB and wR are the row and column coordinates measured from the top left corner of the active window.