Programmer's Guide > Interfaces > Window interface > screenY attribute
  
screenY attribute
The Y coordinate of the window frame's top edge in pixels. If the window is docked to a main window, this value is relative to the upper left corner of the dock bar.
screenY
Access
read-only
Returns
int