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

Home » U++ Library support » Menus&Toolbars » General Menu Construction
Re: General Menu Construction [message #3217 is a reply to message #3215] Sat, 13 May 2006 13:46 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
Always use #1 instead of #2. Actually, we are investigating how to avoid #2 at interface level (which is OTOH quite difficult while preserving context menu system). The fact that it was left in HelloWorld is rather bug than anything else (now fixed).

The thing is that "Set" and "PopUp" do some additional actions to get menu ready (like automatic hotkey assignment).

As for "Layout" variant, it is in fact the same as #1 - it does not matter whether you use menu as frame or as view ctrl.

Also, the difference between both context variants is zero - all the difference is in CallbackArgTarget, not in MenuBar.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CtrlImg::new_doc()
Next Topic: Fast menu navigation
Goto Forum:
  


Current Time: Fri May 15 22:44:14 GMT+2 2026

Total time taken to generate the page: 0.01961 seconds