Kbase P89677: How to get the resolution of the screen?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/1/2005 |
|
Status: Unverified
GOAL:
How to get the resolution of the screen?
FACT(s) (Environment):
Windows 32 Intel
Windows NT 32 Intel/Windows 2000
FIX:
Query the following System Handle Attributes:
SESSION:WIDTH-PIXELS
SESSION:HEIGHT-PIXELS.
Example:
/* Change the resolution of your screen */
/* while you test this code. */
DO WHILE TRUE:
MESSAGE SESSION:WIDTH-PIXELS "X" SESSION:HEIGHT-PIXELS "Pixels" VIEW-AS ALERT-BOX INFORMATION.
END.