Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
"Derumier, David" — — source: Informix-list mailing list archive (1991-1998)
Short function to return screen size (using NewEra unit) :
####################################################################
FUNCTION getScreenSizeInPGU() RETURNING SMALLINT, SMALLINT
VARIABLE width SMALLINT
VARIABLE height SMALLINT
BEGIN_C
width = GetSystemMetrics(SM_CXSCREEN);
height = GetSystemMetrics(SM_CYSCREEN);
END_C
RETURN width*15, height*15
END FUNCTION
And of course don't forget to include <windows.h>
David DERUMIER
David.derumier@trasys.be
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.