wolfbartels Posted December 6, 2006 Share Posted December 6, 2006 I want to put some additional menuitems (child) on an application window (parent).When using$ChildhWnd=GUICreate($text, $SizeX, $SizeY, $PosX, $PosY, $WS_CHILD, -1, $TargethWnd)with $PosY = 0 the childGUI shows inside the application main window,with $PosY < 0 the childGUI is covered by parent window menu barIs there a solution using a Child Window or is an independent window the only way? Link to comment Share on other sites More sharing options...
lod3n Posted December 11, 2006 Share Posted December 11, 2006 I've done this here:http://www.autoitscript.com/forum/index.php?showtopic=37709The primary trick is this call:DllCall("user32.dll", "int", "SetParent", "hwnd", $AutoItGuiHandle, "hwnd", $TargetWindowHandle) [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] 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