Click to See Complete Forum and Search --> : getting display settings


May 19th, 1999, 11:58 AM
does anyone know how to get the generic display settings from Windows NT? I found the entries for desktop size and pixel depth in the registry, but it was a subkey of the specific hardware that was installed, and I won't know the hardware on the machines the program is to run on. I can't change the the display settings, so I have set up some methods to handle different resolutions and pixel depths. In win95/98, the settings are stored in a generic registry entry, but no such luck with NT. Anyone know where the settings are stored (if they are, even)
thanks
Jon
email: jjtanne@ilstu.edu

May 19th, 1999, 02:03 PM
Try EnumDisplaySettings

-Mark

John Holifield
May 19th, 1999, 04:51 PM
There is a function called GetDeviceCaps(). This function will get you the info you need on Win95 or WinNT.

Good Luck,
John