Post Reply

Forums -> Multiple monitors -> Set Primary Monitor for my PC sequentially through program
blueeyez   2003-08-13 22:35
Hi,
I have multimonitor support on my PC. I have to write a program in C++ to set the enumerated multiple monitors as Primary monitor to my PC sequentially (one by one).

For Example, if there are four monitors attached to the PC, one is the default primary monitor. I do some operations.
I select the second monitor as Primary monitor through program and I do some operations.
I select the third monitor as Primary monitor through program and I do some operations.
I select the fourth monitor as Primary monitor through program and I do some operations.

Is there a way to do this?
Does microsoft provide any APIs for this?
Is it possible set a monitor as primary monitor using the registry settings?
Is it possible set a monitor as primary monitor using driver?

If there is way to do it, then what is it and how to do it?
Douglas   2003-08-15 02:22
The MSDN website has all the information on the multi-monitor APIs.

Douglas Jordan
Colorgraphic, VP Engineering
Forums -> Multiple monitors -> Set Primary Monitor for my PC sequentially through program

Post Reply