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

Home » U++ Library support » Menus&Toolbars » beginner's questions about menu&bars [SOLVED]+[EXAMPLES]
Re: question about menu [message #1935 is a reply to message #1934] Tue, 28 March 2006 10:29 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
.......
	void MySelect() { .... }

	void Select(Bar& bar)
	{
		bar.Add("Select!", THISBACK(MySelect));
	}

	void MainBar(Bar& bar)
	{
		bar.Add("Menu", THISBACK(Menu));
		bar.Add("Select", THISBACK(Select));
	}
......


The difference between Bar and MenuBar is that "Bar" can mean ToolBar as well - you can share the same definition for both.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Navigating through menu items help line isn't shown [SOLVED?]
Next Topic: Minor crash with Menu... [FIXED]
Goto Forum:
  


Current Time: Sun Jun 14 21:16:56 GMT+2 2026

Total time taken to generate the page: 0.01514 seconds