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 » 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: 13975
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: Wed May 01 16:49:08 CEST 2024

Total time taken to generate the page: 0.01349 seconds