AddGadgetItem result for panel gadgets

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

AddGadgetItem result for panel gadgets

Post by netmaestro »

Adding a panel tab item to a panel gadget currently returns no useful result. It would be helpful indeed if the return value were equal to the hwnd of the child tab item, similar to hwnd = openwindow(0, [..]). Currently the only way I know to get the hwnd (without resorting to PB internals) is EnumChildWindows_() on Windows and for the other OS's I have no idea. Is there a simple way to get this without my feature request?
BERESHEIT
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: AddGadgetItem result for panel gadgets

Post by IdeasVacuum »

+1 Would make it easier to keep track of Panel Tabs, especially if added by the User at run time.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Post Reply