Find TGadget if I know only the hWnd of

BlitzMax Forums/BlitzMax GUI Programming/Find TGadget if I know only the hWnd of

Is there a way to find out what object has a special hWnd?
I only know the hWnd and need to find out what object has it.
So reverse to QueryGadget I've to search something like a tgadet list for my hWnd ...

Thanks

Andre

Yes thats possible.
By taking each of your "head gadgets" and recursively compare the hWnd against theirs.