isGadget(gadget)

BlitzPlus Forums/BlitzPlus Programming/isGadget(gadget)

you could use the api IsWindow() found within user32.dll pass IsWindow() the HWND pointer returned from QueryObject()