I'm wondering if it is possible to remove a window from the owning windo and set it to be owned/parented by GUI created by the script.
For example, the tray tip window is owned by the task bar. It can be confirmed with this code.
DetectHiddenWindows, On TrayTip, TrayTip Sample, This will be displayed for 5 seconds., 5, 1 hTrayTip := WinExist("ahk_class tooltips_class32") hOwner := GetOwnerWindow(hTrayTip) If WinExist("ahk_id " hOwner) { WinGetTitle, OwnerTitle, ahk_id %hOwner% WinGetClass, OwnerClass, ahk_id %hOwner% msgbox % OwnerClass } GetOwnerWindow(hwnd) { return DllCall("User32\GetWindow" , ptr, hwnd , uint, GW_OWNER := 4 , ptr) }So is it possible to detach the tray window and attach it to my custom Gui? Thanks for your info.