本帖最后由 haijie1223 于 2011-7-25 14:12 编辑
http://www.autoitx.com/forum.php ... hlight=%B5%D7%B2%E3
但愿可以帮到你
还有sanhen的代码,设置在最低层:#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Opt('MustDeclareVars', 1)
Example1()
; example 1
Func Example1()
Local $msg,$Child,$hwnd
$Child=GUICreate("My GUI")
$hwnd=WinGetHandle("Program Manager","")
DllCall("user32.dll","hwnd","SetParent","hwnd",$Child,"hwnd",$hwnd)
GUISetState(@SW_SHOW)
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
GUIDelete()
EndFunc ;==>Example1
|