Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make clone or extended mode

I am having multiple monitors(virtual+real) and by default I wanted to put it in clone/dual mode from my program. Can some one suggest how do I achieve this? I am very new to this world:) sorry for this basic question.... even any doc or any link will be highly appreciable.

/sarbojit

like image 932
sarbojit Avatar asked Dec 21 '22 23:12

sarbojit


1 Answers

//Extend
SetDisplayConfig(0, NULL,0, NULL,(SDC_APPLY | SDC_TOPOLOGY_EXTEND));
//Clone
SetDisplayConfig(0, NULL,0, NULL,(SDC_APPLY | SDC_TOPOLOGY_CLONE));

For more information: http://msdn.microsoft.com/en-us/library/ff569533%28v=VS.85%29.aspx

like image 182
Peo Bondesson Avatar answered Jan 07 '23 17:01

Peo Bondesson