QueryObject?

BlitzPlus Forums/BlitzPlus Programming/QueryObject?

William Drescher(Posted 2007) [#1]
What in the world does QueryObject do?


Yo! Wazzup?(Posted 2007) [#2]
Edit :/


CS_TBL(Posted 2007) [#3]
That's because it belongs to B+, doh ;P


Alaric(Posted 2007) [#4]
Blitz basic keeps track of the "gadgets" you create with it's own set of handles that are incompatible with most basic windows API commands (which you can invoke with userlibs). Queryobject is used to obtain the windows handle to a gadget so that you can use these built in commands in your BlitzPlus programs.


William Drescher(Posted 2007) [#5]
Anyone know all the parameters of the function, because I just can't seem to find anything about it anywhere for some reason?


Alaric(Posted 2007) [#6]
You usually just use "QueryObject(gadgethandle,1)" because this will return the windows handle of the gadget. I have this description in my docs. If you still need more help or want more information on the second parameter, check the online manual or download a docs update.