shai, That works: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> ; Create GUI $hGUI = GUICreate("", 260, 100, -1, -1, BitOR($WS_CAPTION, $WS_SYSMENU), $WS_EX_LAYOUTRTL) GUICtrlCreateLabel("username:", 10, 15, 80, 20) $cOK = GUICtrlCreateButton("OK", 190, 10, 60, 50) GUISetState() ; Create child to hold input $hChild = GUICreate("", 80, 20, 80, 20, $WS_POPUP, $WS_EX_MDICHILD, $hGUI) $cUse