Find TGadget if I know only the hWnd of

BlitzMax Forums/MaxGUI Module/Find TGadget if I know only the hWnd of

andre72(Posted 2007) [#1]
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


Dreamora(Posted 2007) [#2]
Yes thats possible.
By taking each of your "head gadgets" and recursively compare the hWnd against theirs.