Disable "Use This Device As Primary Monitor" Always Secondary Monitor

Discussion in 'Windows Vista Drivers' started by anshul, Jul 19, 2006.

  1. anshul

    anshul Guest


    We have made a virtual secondary display driver (secondary display
    device) that becomes active when "Extend my windows desktop to this
    monitor" is selected.

    Now for this virtual device we want that "Use This Device As Primary
    Monitor " should always be disable.

    I am stuck at this point.

    Now , in my system I also have ATI Radeon display card installed that
    supports two display device (monitors) i.e. primary and secondary.

    Now for secondary monitor "Use This Device As Primary Monitor" is
    always disabled. I also want this functionality for my display device.

    What I am thinking is that there may be some flag in DEVMODE structure
    or in PDEV that make the device as "secondary only" display device i.e.
    a device that can not be set as primary.

    Other approach I tried was through ChangeDisplaySettingsEx. But this
    API completely disabled my virtual secondary display device.

    I also had a look at registry through which I can disable this option
    permanently , but to no avail.

    I just want "Use This Device As Primary Monitor" always disabled.

    Please , if you have any idea about how to address the above problem ,
    then kindly do let me know.

    anshul, Jul 19, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.