Re: wxEuphoria: Drop Down Menu from Bitmap Button

new topic     » goto parent     » topic index » view thread      » older message » newer message

Greg, if I wanted to add menu items dynamically (I'm building a path history list that gets read from a text file), how would I go about doing that? I'll be adding to the list during runtime. Would I keep creating wxMenuItems as needed? How do I prevent duplicates? etc... smile

Thank you!

ADDED: When the user clicks a wxMenuItem, I want to change the current directory, update another control (textbox), etc. How do I capture the wxMenuItem clicks, especially for ones added during runtime?

ADDED: Found the wxMenuItem demo file. Will investigate...

ADDED: I got it working! I will post the deets later, for knowledgebase purposes.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu