1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HOW: turn off only the primary monitor

Discussion in 'C' started by TF3K, Dec 24, 2006.

  1. TF3K

    TF3K New Member

    Joined:
    Dec 24, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,293
    Likes Received:
    365
    Trophy Points:
    83
    Are you looking something in C-C++ to do it as you have submitted it in C-C++ section.
     
  3. unalterable

    unalterable New Member

    Joined:
    Aug 15, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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?
     

Share This Page