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 » Community » Newbie corner » Menus and Toolbars
Re: Menus and Toolbars [message #24982 is a reply to message #24980] Sat, 06 February 2010 20:32 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

You can of course do
Bar::Item& foo=bar.Add("Foo", THISBACK(DooFoo));
foo.Help(...);
foo.Tip(...);
foo.Text(...);
foo.Image(...);
foo.Check(...);
foo.Enable(...);
foo.Key(...);

But it's ugly and it requires much more typing Smile The chaining concept is one of the big advantages of U++.

BTW: Another great source of information is reference assembly. Most of the packages there covers one topic only, but into greater detail then tutorials.

Quote:

I think there is an example with this.

Yes, it is in Reference/Menu.

Honza

[Updated on: Sat, 06 February 2010 20:34]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Form Designer
Next Topic: ButtonOption is a cute little Toggle button
Goto Forum:
  


Current Time: Mon May 13 03:19:49 CEST 2024

Total time taken to generate the page: 0.02216 seconds