Wanted for PanelGadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Wanted for PanelGadget

Post by Polo »

A way to have the Gadget handle of a specified item of the panel, i know there's a windows trick to get it but it would be better to have a command for that (and on linux too if possible :))
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Wanted for PanelGadget

Post by PB »

What's wrong with the GadgetID() command?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

if you want the handle it's to deal with the API or I miss something ?
Tranquil
Addict
Addict
Posts: 952
Joined: Mon Apr 28, 2003 2:22 pm
Location: Europe

Post by Tranquil »

AddGadgetItem returns the handle of the Item added.
At the moment there is no way to get the handle of an item after it's creation without the use of the windows API.

I think he would like to see a command like:
handle=GetGadgetItemID(GadgetID,Item)

Right?
Tranquil
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

yes, Tranquil, you're right ;)
Post Reply