Skip to main content
gamedev.net
🔒 Locked

Dynamic Menus?

Started by Gf11speed 2 replies 200+ views
Original Post
Gf11speed
Gf11speed
How do you adjust popup menus while a program is running? For example, if I have a popup menu that comes up when the user presses the mouse button, with 3 items (which are defined in the resoures file), how can I add/remove items during the program''s execution? Can I do this, or is this menu unchangable once the program starts? Thanks! MENU1 MENU DISCARDABLE BEGIN POPUP "The menu" BEGIN MENUITEM "Item1" ITEM1 MENUITEM "Item2" ITEM2 MENUITEM "Item3" ITEM3 END END *====================* http://www.syntasoft.com *=======================*
Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)
microdot
microdot
click me

[edited by - microdot on March 19, 2003 12:37:09 PM]
<span class="smallfont">That is not dead which can eternal lieAnd with strange aeons even death may die.   -- "The Nameless City" - H. P. Lovecraft</span>
Zipster
Zipster
Check the API. Believe it or not, functions to exist to add items, remove items, rename items and change other properties.
Gf11speed
Gf11speed
Got it. Thanks guys!

*====================*
http://www.syntasoft.com
*=======================*
Greg FieldsSyntasoft Gameswww.syntasoft.comPost-Time Horse Racing (Available Now)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.