Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. ChangeDisplaySettings

ChangeDisplaySettings

Scheduled Pinned Locked Moved C / C++ / MFC
cssgraphicsquestionworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nonameseemstowork
    wrote on last edited by
    #1

    I have a rather unusual situation where the monitor needs to present video capabilities (via DDC) that are actually less than what it actually supports, causing Windows configuration utilities to present a subset of options. However, programatically I want to set video paramaters (resolution, refresh) to any of the actually supported configurations within the limits of the graphics card. So, is there a way to determine the graphics card's capabilities, and to set them even though the system does not think the active display can support them? It seems that ChangeDisplaySettings will not allows settings that were not claimed to be supported (through monitor ddc exchange). Thanks in advance!! Jeremy

    D 1 Reply Last reply
    0
    • N nonameseemstowork

      I have a rather unusual situation where the monitor needs to present video capabilities (via DDC) that are actually less than what it actually supports, causing Windows configuration utilities to present a subset of options. However, programatically I want to set video paramaters (resolution, refresh) to any of the actually supported configurations within the limits of the graphics card. So, is there a way to determine the graphics card's capabilities, and to set them even though the system does not think the active display can support them? It seems that ChangeDisplaySettings will not allows settings that were not claimed to be supported (through monitor ddc exchange). Thanks in advance!! Jeremy

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      nonameseemstowork wrote:

      So, is there a way to determine the graphics card's capabilities...

      What about GetDeviceCaps()?


      "A good athlete is the result of a good and worthy opponent." - David Crow

      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

      N 1 Reply Last reply
      0
      • D David Crow

        nonameseemstowork wrote:

        So, is there a way to determine the graphics card's capabilities...

        What about GetDeviceCaps()?


        "A good athlete is the result of a good and worthy opponent." - David Crow

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        N Offline
        N Offline
        nonameseemstowork
        wrote on last edited by
        #3

        It appears that call returns information about what the display can do based on what it sent the PC during the DDC exchange. I have a case where there are 'non-published' configurations that the display can support. But ChangeDisplaySettings only allows settings that are advertised by the display through the ddc exchange. Jeremy

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups