CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    getting display settings

    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: [email protected]


  2. #2
    Guest

    Re: getting display settings

    Try EnumDisplaySettings

    -Mark


  3. #3
    Join Date
    Apr 1999
    Location
    Alabama, USA
    Posts
    261

    Re: getting display settings

    There is a function called GetDeviceCaps(). This function will get you the info you need on Win95 or WinNT.

    Good Luck,
    John




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured