Jump to content
Sign in to follow this  
E1M1

Can I turn random window to autoit wondow's child window?

Recommended Posts

E1M1

This code makes window that is child window of "AutoIt Help" but how i can make script that turns "AutoIt Help" to child window of $Form1 ?

Is it possible in autoit?

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 447, 193, 125, -1 0,WinGetHandle("AutoIt Help"))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEndoÝ÷ Ù*%ºØ¨«­¢+Ø¥¹±Õ±ÐíU%
½¹ÍѹÑÍà¹ÔÌÐì(¥¹±Õ±Ðí]¥¹½ÝÍ
½¹ÍѹÑ̹ÔÌÐì(¥¹±Õ±Ðí
½¹ÍѹÑ̹ÔÌÐì((I¥½¸MQIP-½U$ÍÑ¥½¸½É´ô(ÀÌØí½É´ÄôU%
ÉÑ ÅÕ½Ðí½É´ÄÅÕ½Ðì°ØÌÌ°ÐÐÜ°ÄäÌ°ÄÈÔ± ¥Ñ=H ÀÌØí]M}
1%A
!%1I8°ÀÌØí]M}
1%AM%   1%9L°ÀÌØí]M}5a%5%i =`°ÀÌØí]M}5%9%5%i  =`¤¤(%¹±Õ±Ðí]¥¹A$¹ÔÌÐì)}]¥¹A%}]¥¹½Ý1½¹¡]¥¹Ñ!¹± ÅÕ½ÐíÕѽ%Ð!±ÀÅÕ½Ð줰ÀÌØí]1}!]9AI9P°ÀÌØí½É´Ä¤)}]¥¹A%}]¥¹½Ý1½¹¡]¥¹Ñ!¹± ÅÕ½ÐíÕѽ%Ð!±ÀÅÕ½Ð줰ÀÌØí]1}MQe1°    ¥Ñ=H ÀÌØí]M}
1%A
!%1I8°ÀÌØí]M}
!%1°ÀÌØí]M}Y%M%    1°ÀÌØí]M}5%9%5%i   =`°ÀÌØí]M}M%i  =`¤¤(íø}]¥¹A%}]¥¹½Ý1½¹¡]¥¹Ñ!¹± ÅÕ½ÐíÕѽ%Ð!±ÀÅÕ½Ð줰ÀÌØí]1}aMQe1°ÀÌØí]M}a}5%
!%1¤)U%MÑMÑÑ¡M]}M!=¤(¹I¥½¸9-½U$ÍÑ¥½¸()]¡¥±Ä($ÀÌØí¹5ÍôU%Ñ5Í ¤(%MÝ¥Ñ ÀÌØí¹5Í($%
ÍÀÌØíU%}Y9Q}
1=M($$%á¥Ð((%¹MÝ¥Ñ )]¹

But still need some style help.

Edited by E1M1

edited

Share this post


Link to post
Share on other sites
dantay9

Look up SetParent on MSDN. I think that should work.


[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×