There's probably an easy answer to this question, but I haven't been able to find any information...

I'm using the SetParent API to parent forms in a frame object, like this:

Code:
    SetParent frm.hwnd, Frame1.hwnd
    frm.Show
I want to switch between viewing several different forms in this frame. Is there a way to query the frame to see what is the name of the child form that is showing?

Any info would be greatly appreciated!

TIA