Here's an example script that shows the active window's parent when you Press F1. Any ideas why it wouldn't find a parent for the Winamp v 2.81 playlist editor window when Windowse
http://www.greatis.com/delphicb/windowse/ reports that there is one (as expected)?
Code:
F1::
DetectHiddenWindows, On
WinGet, wid, ID, A ; click in Winamp v2.81 playlist editor window first
Parent := Decimal_to_Hex( DllCall( "GetParent", "uint", wid ) )
msgbox, %Parent%
Return
Esc::exitapp
Decimal_to_Hex(var)
{
SetFormat, integer, hex
var += 0
SetFormat, integer, d
return var
}