Dec 092017
 
DesqView utility that returns a windows location. Uses DesqView API.
File WINPOS.ZIP from The Programmer’s Corner in
Category Alternate Operating Systems
DesqView utility that returns a windows location. Uses DesqView API.
File Name File Size Zip Size Zip Type
TPCREAD.ME 199 165 deflated
WI-PIF.DVP 416 82 deflated
WI-SCRIP.DVS 1066 105 deflated
WINPOS.DOC 3878 1634 deflated
WINPOS.EXE 31243 14462 deflated

Download File WINPOS.ZIP Here

Contents of the WINPOS.DOC file


WINDOW POSITION
DOCUMENTATION

The window position program is a rather simple-minded DESQview
API program that was born out of the experience of trying to set
up several windows in DESQview so that they produced a "tiled"
rather than overlapped effect when opened.

In order to make DESQview windows come up to a specific spot on
the screen, you need to enter the window coordinates (Starting
Height, Starting Width, Starting Row and Starting Column) on the
"Advanced Options" section of the program's Program Information
File using Change a Program. It is not too difficult to
determine the proper coordinates, but getting a specific window
position sometimes requires quite a bit of trial and error.

WINDOW POSITION uses the DESQview API to constantly display its
window coordinates as you move and resize the window. Once you
put the window in the desired location, you can record the
numbers and enter them into the Window Position data for another
programs Program Information File, using Change a Program. These
numbers can also be used in the Setup Program (under Window
Positions) to change DESQview's default window positions.

To install WINDOW POSITION, place the files WINPOS.EXE and
WI-PIF.DVP from the ARC file into a subdirectory on your hard
drive. Then copy the WI-SCRIP.DVS into your DESQview directory.
Then select Add a Program from the DESQview Open Window menu.
Select "Other" and specify the subdirectory where you placed the
WINDOW POSITION files. DESQview's Add a Program will find the
DVP file and display "Window Position" as a program it can add.
Just mark "Window Position" and hit the Enter key to add it to
your menu.

When you run it, two scripts are available:

The F1 key marks the numbers of the current window position and
activates Change a Program, and then pauses for you to enter the
two keys associated with the program you want to change. Select
the window and the script will automatically plug in the
appropriate numbers. You might try this, selecting the D1 or DOS
(128K) window for test purposes.

The F2 key will simply "blank out" the window positions for the
selected window so that the default DESQview window positions
will be selected.

Hints and comments:

1) If you are trying to setup a "tiled" appearance, you can open
Window Position several times, arrange the windows as you like
them and then use the scripts to attach the window positions to
the appropriate window.

2) If you want to open an application so that when it opens a
specific section of text is visible, open it first, adjust the
window so that the appropriate section of screen is visible.
Then open Window position and adjust the window so that it
exactly overlays the first window. Then set the window position.

3) You can create a window so small that the window coordinates
are not visible. Window Position currently makes no
accommodation for this, however the macro keys will still work
and can "grab" the window coordinates even though they may not be
visable on the screen.

4) Naturally, setting window positions only works for programs
that CAN be run in small DESQview windows, that is programs that
write to the screen using DOS, the BIOS, DESQview compatible
screen calls, or virtualized windows on 386 machines.

5) The F2 key simply blanks out the window positions so that the
DESQview default is active. IT DOES NOT record and restore the
previous settings if you already had some. If you had settings
you don't want to lose, you may want to write them down before
running WINDOW POSITION.

Stan Young - Quarterdeck Office Systems - November 21, 1988
Program code by: Richard Wellner

* * * E N D O F F I L E * * *


 December 9, 2017  Add comments

Leave a Reply