U++ framework
Do not panic. Ask here before giving up.

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: 1796
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: Sun Jun 21 11:42:27 GMT+2 2026

Total time taken to generate the page: 0.00575 seconds