DECLARE FUNCTION SetWindowLong LIB "user32" ALIAS "SetWindowLongA" (hwnd AS LONG, nIndex AS LONG, dwNewLong AS LONG) AS LONG SUB MinSet (fhand AS INTEGER, apphand AS INTEGER) setwindowlong(fhand, -8, 0) setwindowlong(apphand, -8, fhand) END SUB