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 » Menu, SubMenu and Icons [ADDED]
Menu, SubMenu and Icons [ADDED] [message #2376] Mon, 10 April 2006 10:21 Go to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Consider this piece of code:

void App::CreateSubMenu(Bar &bar) {..}

App:App()
{
MenuBar bar;
bar.Add("Submenu", NiceImg(), THISBACK(CreateMoveRecordMenu));
}

The bar.Add(..) wont work... I have to write..

bar.Add("Submenu", THISBACK(CreateMoveRecordMenu));

...but then submenu is without icon.
I'm not sure what is better - submenu with or without icon, but IMO there should be ability to create submenu with icon.

[Updated on: Sun, 30 April 2006 12:17] by Moderator

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Minor crash with Menu... [FIXED]
Next Topic: EditString in toolbar doesn't work
Goto Forum:
  


Current Time: Thu Apr 18 20:30:06 CEST 2024

Total time taken to generate the page: 0.02208 seconds