Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Oct : Get Display Info
| Subject: | Get Display Info |
| Posted by: | "Steve" (kilr..@harpservices.com) |
| Date: | Tue, 2 Oct 2007 13:59:46 |
Hi All,
I'm writting an app that needs to change the display resolution while
running and then change it back on closing. I need to populate a
TDevMode with current settings to use with ChangeDisplaySettings() on
closing. I know how to get dmBitsPerPel, dmPelsWidth,and dmPelsHeight
with GetDeviceCaps but I haven't found a way to get the current vaules
for dmDisplayFlags and dmDisplayFrequency.
How can I get the current settings for these values?
Thanks,
Steve