Turn Monitor in Standby Mode

Status
Not open for further replies.

stefk

Member level 2
Joined
Jul 15, 2001
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
293
Does anyboby know a function to turn OFF monitor , or put it in standby mode under MS Windows (98,XP..)?
I need to put such code in my program written in C++ to control monitor like Power Menagment does.
Thanks.
 

OK , I have found the answer by myself:
SendMessage(hwnd, WM_SYSCOMMAND, SC_MONITORPOWER, 1);
Maybe it will useful for you.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…