Advertisement
1_2002 Complete Applications #105698

Freeze a computer!

Ever want to freeze a computer? Well, here is some code to do it. It manipulates the API 'setparent'

AI

KI-Zusammenfassung: 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.

Quellcode
original-source
Public Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
function freeze_computer(frm as form)
 call SetParent(frm.hwnd, frm.hwnd)
end function
Originalkommentare (3)
Wiederhergestellt von der Wayback Machine