Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Nov : I need to know the current screen resolution before my app starts

www.cryer.info
Managed Newsgroup Archive

I need to know the current screen resolution before my app starts

Subject:I need to know the current screen resolution before my app starts
Posted by:"Larry Dew" (ld..@xegsys.net)
Date:Tue, 13 Nov 2007 10:15:11

I can change the resolution of the desktop with ChangeDisplaySettings
but EnumDisplaySettings does not give me a true indication of the
current display settings. I can iterate through the DevNum but I can't
tell which is the current mode. What I want to do is set the screen to a
higher res if it is less than my app needs otherwise leave it alone.
Thanks

Replies:

www.cryer.info
Managed Newsgroup Archive