Page 1 of 1

UseGadgetList() return current gadgetlist owner

Posted: Tue Aug 02, 2005 3:59 pm
by eddy

Code: Select all

CurrentOwnerID = UseGadgetList()
without parameter, this command could return :
- zero
- currentOwnerID

I need this feature for my toolbar lib:

Code: Select all

hPrevGadgetList=UseGadgetList()

UseGadgetList(hToolbar)

StringGadget(...)

if hPrevGadgetList
   UseGadgetList(hPrevGadgetList)
endif