I created a new feature for my program that will find the "Quick Query" window in the database application we use here, fill in some numbers, and run the query. My problem is that I often have 2 instances of the database application running, usually both with a "Quick Query" dialog box open. I was hoping I could use FindWindow or GetAncestor to get the parent/owner (still having a hard time with which is which) of the Quick Query dialog and then get the dialog from that parent. I can easily get the handle of the parent window titled "Record Storage Item Process Status", but when I search the child windows with FindWindowEx AND EnumChildWindows the dialog isn't found.

Appreciate your time!!!!
fEtch