[Implemented] Another ID Command

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1282
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

[Implemented] Another ID Command

Post by Paul »

WindowID() is for getting handle of Window
GadgetID() is for getting handle of Gadget

How about StatusBarID() for getting handle of statusbar ??

Thanks.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

And

MenuID([#menu])
ToolBarID([#Toolbar])
And ScreenID()
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Post by eddy »

vote

ToolBarID([#Toolbar])
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

And what about FileID(), SoundID(), SystrayIconID()? EverythingID() would be cool :-) but FileID() would be very helpful.
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Post by techjunkie »

Why not just "GetID()"?!?! :wink:
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
User avatar
fsw
Addict
Addict
Posts: 1603
Joined: Tue Apr 29, 2003 9:18 pm
Location: North by Northwest

Post by fsw »

techjunkie wrote:Why not just "GetID()"?!?! :wink:
Because it's too easy to remember :shock:
yashaa
User
User
Posts: 19
Joined: Sun Jun 12, 2005 8:19 pm

Post by yashaa »

Code: Select all

screenid=GetID(#PB_ITEM_SCREEN,1) ;gets screen 1 id
menuid=GetID(#PB_ITEM_MENU,0) ; gets menu 0 id
Great! :idea:
Post Reply