Find TGadget if I know only the hWnd of

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

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.