[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3051.0. "Display size constant?" by MSDOA::KNIGHTLY (Bill Knightly @NOO) Mon Jul 09 1990 16:30

    Can an application be displayed on the same size window on different
    display servers? Let's say I have a 3"X5" display of a data base input
    form. Can I develop that so it will run under DECwindows on a Mac and
    PC and a VS3100 and all display a 3" x 5" form even though the
    resolution of each display is different.
    Thanks,
    Bill
T.RTitleUserPersonal
Name
DateLines
3051.1GILROY::kleeMon Jul 09 1990 17:455
There are Xlib functions that will tell you the size of the screen in
both pixels and in millimeters.  Using these values, you should be able
to adjust the size (pixels) of your windows appropriately.

Ken
3051.2CLTMAX::dickSchoeller - Failed XperimentWed Jul 11 1990 10:468
.0

If you size things based on font units using the XUI or Motif toolkits,
and set up your server correctly and define your font choices correctly
(the defaults are OK for this) then you should be able to do this with
little effort.

Dick