Device coordinates depend on window size. The inquiry function INQUIRE WORKSTATION TRANSFORMATION can be used to retrieve the window size only after OPEN WORKSTATION. Values returned by INQUIRE DISPLAY SPACE SIZE are wrong if called before OPEN WORKSTATION.