Darken Monitor

Category: Screensaver Tutor Series

Date: 02-16-2022

Return to Index


 
'Compilable Example:  (Jose Includes)
#Include "win32api.inc"
Function PBMain() As Long
   SendMessage %hWnd_Broadcast, %WM_SysCommand, %SC_MonitorPower, 2
   Sleep 4000
   SendMessage %hWnd_Broadcast, %WM_SysCommand, %SC_MonitorPower, -1
End Function
                    


created by gbSnippets
http://www.garybeene.com/sw/gbsnippets.htm