Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Func _WindowInWindow($Child, $Parent)
- $nExStyle = DllCall("user32.dll", "int", "GetWindowLong", "hwnd", $Child, "int", 0)
- DllCall("user32.dll", "int", "SetWindowLong", "hwnd", $Child, "int", 0, "int", BitOR($nExStyle[0], 0x00000040))
- DllCall("user32.dll", "int", "SetParent", "hwnd", $Child, "hwnd", $Parent)
- Return SetError(@error, @extended)
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment