HOW: turn off only the primary monitor

Newbie Member
25Dec2006,03:41   #1
TF3K's Avatar
Hi.
I have 2 monitors.
how do i make a program that will shut down only the priamry monitor
i know there's the SendMessage function with SC_MONITORPOWER..
but when i used it - the program turns off both of the monitors, and i only need one monitor to be turned off.

any help?
thanks
Go4Expert Founder
25Dec2006,10:21   #2
shabbir's Avatar
Are you looking something in C-C++ to do it as you have submitted it in C-C++ section.
Newbie Member
15Aug2009,06:11   #3
unalterable's Avatar
TF3K... Have you developed a way of automatically switching off the primary monitor in windows. I would be very interested in any results you have?