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

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

Post by anshu » Thu, 20 Jul 2006 20:15:27


HI,

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.

Thanks
 
 
 

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

Post by mudee » Sun, 08 Oct 2006 03:55:12

Hi,

There was a post on this topic a couple of weeks back, but there was
not reply. I am wondering if anyone knows the solution to this. i.e in
the display driver disable the feature to use it as a primary monitor.

Regards
Mudeem