Advertisement
ASP_Volume3 Windows API Call/ Explanation #45746

How to turn the monitor on/off

With this code you can turn on or off the monitor ;)

AI

Podsumowanie AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Kod źródłowy
original-source
'Turn Monitor on: ->
 SendMessage Me.hWnd, WM_SYSCOMMAND, SC_MONITORPOWER, ByVal 0&
'Turn Monitor off: ->
 SendMessage Me.hWnd, WM_SYSCOMMAND, SC_MONITORPOWER, ByVal -1&
Oryginalne komentarze (3)
Odzyskane z Wayback Machine