isGadget(gadget)

BlitzPlus Forums/BlitzPlus Programming/isGadget(gadget)

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.

function isGadget(gadgetHndl)
if isWindow(QueryObject(gadgetHndl, 1)) then return true
return false
end function

This crashes in blitz when an invalid gadgetHndle is used. Ill try porting it to a C++ DLL. Just not tonight. I need some zees. :)