I am not sure which language or IDE, but there is a GetParent() method you can call, this works for me: ' Get the parent window's caption and window class name MsgBox(.GetParent().ToString()) MsgBox(.GetParent().GetProperty("caption").ToString()) MsgBox(.GetParent().GetProperty("windowClassName").ToString())
↧