Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Menus&Toolbars » Creating sub menus without callback functions
Re: Creating sub menus without callback functions [message #5912 is a reply to message #5908] Tue, 24 October 2006 16:45 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Quote:


THISBACK2 doesn't seem to work (v610) - at least in this context.



Sorry about that, that variant really is not part of U++ (yet?)

Quote:


Despite this working for me now and most smaller applications wouldn't read their interfaces from a file at runtime anyways, I think it might be worth it to allow for a more "procedural" approach of menu creation for such situations - I haven't investigated the needed changes, so it could be too much work for the benifit.


Well, the needed changes are exactly what you have done now. I think that callback based menu should be primary, because it is more generic - you can quite easily implement non-callback menu using callback variant, but opposite is not true.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DropList bug
Next Topic: MenuBar.Execute seems to ignore owner - Bug?
Goto Forum:
  


Current Time: Mon May 06 21:09:54 CEST 2024

Total time taken to generate the page: 0.02459 seconds