Func _SetParent($TitleP, $TitleC) If WinExists($TitleP) Then If WinExists($TitleC) Then $HwndP = WinGetHandle($TitleP) $HwndC = WinGetHandle($TitleC) DllCall("user32.dll", "str", "SetParent", "HWnd", $HwndP, "HWnd", $HwndC) Return 1 Else Return -1 EndIf Else Return -1 EndIf EndFunc
举报
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2024-12-24 00:26 , Processed in 0.286357 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.