XForms: Getting Display Size

Dick Middleton (dick@sqf.hp.com)
Tue, 18 Nov 1997 12:09:32 GMT

To subscribers of the xforms list from Dick Middleton <dick@sqf.hp.com> :

> I have an application which pops up a number of windows, which I'd
> like to stack up down the right side of the screen. In order to
> use fl_set_form_position to do this I need to discover the size
> of the display screen.

I use the following:

Width = DisplayWidth(display, screen);
WidthMM = DisplayWidthMM(display, screen);
Height = DisplayHeight(display, screen);
HeightMM = DisplayHeightMM(display, screen);



dick@sqf.hp.com _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/