Advertisement
ASP_Volume2 Windows API Call/ Explanation #38355

How to turn the monitor on/off

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

AI

สรุปโดย 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.

ซอร์สโค้ด
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&
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine