Got an idea for enhancing PureBasic? New command(s) you'd like to see?
-
Paul
- PureBasic Expert

- Posts: 1282
- Joined: Fri Apr 25, 2003 4:34 pm
- Location: Canada
-
Contact:
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

- Posts: 1394
- Joined: Fri Apr 25, 2003 6:41 pm
Post
by GPI »
And
MenuID([#menu])
ToolBarID([#Toolbar])
And ScreenID()
-
eddy
- Addict

- Posts: 1479
- Joined: Mon May 26, 2003 3:07 pm
- Location: Nantes
Post
by eddy »
vote
ToolBarID([#Toolbar])
-
Gansta93
- 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.
-
techjunkie
- Addict

- Posts: 1126
- Joined: Wed Oct 15, 2003 12:40 am
- Location: Sweden
-
Contact:
Post
by techjunkie »
Why not just "GetID()"?!?!


(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
-
fsw
- Addict

- Posts: 1603
- Joined: Tue Apr 29, 2003 9:18 pm
- Location: North by Northwest
Post
by fsw »
techjunkie wrote:Why not just "GetID()"?!?!

Because it's too easy to remember

-
yashaa
- 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!
