Page 1 of 1

PureBasic SetParent_(...) equivalent for Gadgets

Posted: Mon Feb 13, 2006 7:27 pm
by fsw
Would be nice if there would be a SetParent equivalent for Gadgets.

SetParent is a WindowsOS API command to set/change a parent on the fly without destroying the Gadget.

PureBasic uses GadgetLists to keep track of certain things, so using SetParent on a Gadget would result in unforseen behaviour.

Maybe something like:
MoveToGadgetList(#Gadget, WindowID(#Window))

If a special Gadget like Container is moved all children should move too.

Sorry if there is already such a PureBasic command (but didn't see one).


Thanks for listening.

BTW: Would be very nice to see this in V4 final.