Can anyone please provide a sample code using EnumDisplaySettings API to get current screen resolution? Or if anyone knows of other way to get the same information, I'd be glad to know.
Consider using the System.Windows.Forms.Screen class.
Code:
MESSAGE System.Windows.Forms.Screen:PrimaryScreen:Bounds:Width
SKIP System.Windows.Forms.Screen:PrimaryScreen:Bounds:Height
VIEW-AS ALERT-BOX INFO BUTTONS OK.
rzr and oli, Thank you for your responses. Oli, your code worked. I needed to translate "Screen.PrimaryScreen.Bounds.Height" and "Screen.PrimaryScreen.Bounds.Width" to Progress. I appreciate your help very much. - Liza
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.