Page 1 of 1

Parent PB-ID

Posted: Sat Apr 10, 2010 12:02 pm
by mk-soft
I believes some can it use. I in each case.

GetParentGadget(GadgetID) and GetParentWindow(GadgetID)

GT 8)

Re: Parent PD-ID

Posted: Sat Apr 10, 2010 12:42 pm
by Kaeru Gaman
didn't you mean (#Gadget) as parameter?
and in every case, #Gadget/#Window should be the return value, not GadgetID(#) wich is the hWnd.

additionally, also retrieving #Number = GadgetNumber(hWnd) would be helpful.

we already have a function to retrieve the hWnd from the #, this is the GadgetID() Function.
the reverse function would come in handy sometimes.

not every native function accept the hWnd as Argument, most do not but want the PB internal ID, the #.

Re: Parent PD-ID

Posted: Sat Apr 10, 2010 2:30 pm
by mk-soft
Yes, i mean (#Gadget) as parameter

Thanks

Re: Parent PB-ID

Posted: Sun Mar 09, 2014 5:15 pm
by mestnyi
Fred unwise to all native functions purebasik worked with a number of the gadget, and the function returns the number of the gadget is not, or all functions should work with the handle. And very necessary functions returning parent. What can I do whatever you added them it's very easy for you, but we really need.

Re: Parent PB-ID

Posted: Fri Mar 21, 2014 5:39 am
by mestnyi
:evil: