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 » U++ Widgets - General questions or Mixed problems » cannot open menu by key?
icon1.gif  cannot open menu by key? [message #13953] Sun, 03 February 2008 08:29 Go to previous message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
class Bonjour : public WithBonjourLayout<TopWindow> {
...
MenuBar menu;
...};

void Bonjour::Menu(Bar& bar)
{
menu.Add("File", THISBACK(FileMenu));
/* This is the top level menu. i cannot open File menu by Alt+F, though the menu name shows an underlined F.
if i implement this using bool HotKey(dword), i still cannot activate all menus by Alt, which is Window's windows' behavior */
menu.GapRight();
menu.Add("Help", THISBACK(HelpMenu));
}
 
Read Message icon1.gif
Read Message
Read Message
Read Message
Previous Topic: What does ScrollBar::SetPage do?
Next Topic: Scrolling in tabs
Goto Forum:
  


Current Time: Fri May 10 01:31:56 CEST 2024

Total time taken to generate the page: 0.01844 seconds