NELyon Posted December 31, 2007 Author Share Posted December 31, 2007 Hmm,,, Try this code. I made it after i released this code. Func _SetParent($TitleC, $TitleP) If WinExists($TitleC) And WinExists($TitleP) Then $HwndC = WinGetHandle($TitleC) $HwndP = WinGetHandle($TitleP) DLLCall("user32.dll", "str", "SetParent", "HWnd", $HWndP, "HWnd", $HWndC) If @error then return 0 EndIf Return 1 EndIf EndFunc Haven't tested it in ages, but it worked fine on WinXP Home before i switched to linux. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now