>Hi,
>
>I'm trying to set up a desktop window using all available screen size starting from just below the app toolbar:
>
>DEFINE WINDOW _preview FROM 0, 0 TO _SCREEN.height, _SCREEN.width IN DESKTOP CLOSE GROW SYSTEM FLOAT
>
>Can anyone tell me how to best calculate the FROM and TO parameters?
>
>Thanks,
>Vidar
You can use Sysmetrics(). However, you can define the window, and in the next line you ZOOM WINDOW _preview MAX