question

TiLongZS avatar image
0 Votes"
TiLongZS asked StriveSun-MSFT commented

How to display different content in Duplicate mode

I know that in the Duplicate mode(Win + P), the display contents of the two monitors are exactly the same. Even through EnumDisplayMonitors or GetSystemMetrics(SM_CMONITORS), only one monitor information can be obtained.

I currently have this requirement. In the Duplicate mode, only a green mask is displayed on one of the monitors for matting.

If you use a semi-transparent green window, both monitors will display this green mask (after all, it is in Duplicate mode).

I tried to modify the color temperature of one of the monitors (SetMonitorRedGreenOrBlueGain), but not all monitors support it.

Is there any solution? Thank you.

windows-api-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

StriveSun-MSFT avatar image
0 Votes"
StriveSun-MSFT answered StriveSun-MSFT commented

Hello, @TiLong-6157

I tried to modify the color temperature of one of the monitors (SetMonitorRedGreenOrBlueGain), but not all monitors support it.


For the green mask, you can only achieve it by adjusting the color temperature of the monitor. Two monitors in duplicate mode, no matter how you create the mask, such as using SetLayeredWindowAttributes, it will have the same visual effect on both monitors. As you said, not all monitors support color temperature adjustment (I haven't verified this statement, at least my two monitors support it). So what I want to say is that this is basically difficult to do.



Thank you!

If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I found that there is a software on the market that can fulfill this requirement, but I don't know how it works.
I uploaded the installation package of the trial version of the software. You can try it. Although the interface is in Chinese, the default settings should be able to show the effect.

https://mega.nz/file/WlAmGRIL#1zxBfPL5ZJDdHxBYLVq-3HWloBV-wTbcQSG2XWWoCyU

0 Votes 0 ·

Because this is a third-party software, I can't see the source code inside, so I can't make a conclusions. By the way, have you tried to test the software on a monitor that does not support color temperature adjustment?

0 Votes 0 ·
TiLongZS avatar image TiLongZS StriveSun-MSFT ·

I tried it.Obviously its working principle is not to control the color temperature of the monitor.
Its software catalog contains several suspected audio and video dlls, which feel like copying one screen and then outputting it to another screen. But it is still a Duplicate mode, which makes me puzzled.
82345-2021-03-29-162556.jpg


0 Votes 0 ·
Show more comments