﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
184	Child window must use GUICtrlSetTip() if the parent uses it too	MsCreatoR <mscreator@…>		"'''[http://www.autoitscript.com/forum/index.php?s=&showtopic=67000&view=findpost&p=495909 Forum link]...''' 

When the parent window have GUICtrlSetTip() for at least one control, then the child window must have it as well, otherwise when we reactivate the app, we can see only the child window.
[[BR]][[BR]]




'''Reproduction:'''

Run example bellow, activate some other window (not the desktop), and activate the GUI back (by clicking on the button on tasks panel), you will see only the child window.


{{{
#include <GuiConstants.au3>

$GUI = GUICreate(""Test Script"", 300, 200)
GUICtrlCreateButton(""Button"", 20, 40, 60, 20)
GUICtrlSetTip(-1, ""TipText"")
GUISetState(@SW_SHOW, $GUI)


GUISetState(@SW_DISABLE, $GUI)
$Child_GUI = GUICreate(""Child"", 200, 120, -1, -1, -1, -1, $GUI)
;GUICtrlCreateLabel(""Label"", -99, -99)
;GUICtrlSetTip(-1, ""Child TipText"")
GUISetState(@SW_SHOW, $Child_GUI)

While 1
    $nMsg = GUIGetMsg(1)
    Switch $nMsg[0]
        Case $GUI_EVENT_CLOSE
            If $nMsg[1] = $GUI Then Exit
            
            GUISetState(@SW_ENABLE, $GUI)
            GUIDelete($Child_GUI)
    EndSwitch
WEnd
}}}

''If you uncomment two lines in the code, this ""effect"" is gone...''
[[BR]][[BR]]


Tested with AutoIt v3.2.8.1/3.2.10.0.

Thanks."	Bug	closed		AutoIt	3.2.10.0		No Bug	child GUICtrlSetTip	
