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.
|