Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

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.
 

stefk

Member level 2
Joined
Jul 15, 2001
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
293
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.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top