|
Controlling your monitor API in delphi or FPC
|
|
11-23-2009, 07:54 AM
Post: #1
|
|||
|
|||
|
Controlling your monitor API in delphi or FPC
//monitor on
SendMessage(Handle,WM_SYSCOMMAND, SC_MONITORPOWER,-1); //monitor off SendMessage(Handle,WM_SYSCOMMAND, SC_MONITORPOWER,2); //monitor standby SendMessage(Handle,WM_SYSCOMMAND, SC_MONITORPOWER,1); |
|||
|
11-23-2009, 08:03 AM
Post: #2
|
|||
|
|||
|
RE: Controlling your monitor API in delphi or FPC
I remember these
i found out these do not work on TV's( i.e a tv that can be hooked up to your computer )
"Character is determined more by the lack of certain experiences than by those one has had." Friedrich Nietzsche |
|||
|
11-23-2009, 08:15 AM
Post: #3
|
|||
|
|||
|
RE: Controlling your monitor API in delphi or FPC
Yea same for come monitors.
|
|||
|
11-23-2009, 09:11 PM
Post: #4
|
|||
|
|||
|
RE: Controlling your monitor API in delphi or FPC
Ha ha very good i must say !
So -1 is for on, 2 i for off and 1 i stand by ! There's a fine line between genius and insanity. I have erased this line. Oscar Levant There's a fine line between an administrator and black hat hacker. I have erased this line. Dr DEBCOL |
|||
|
« Next Oldest | Next Newest »
|






i found out these do not work on TV's( i.e a tv that can be hooked up to your computer )