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?
Re: cannot open menu by key? [message #13954 is a reply to message #13953] Sun, 03 February 2008 10:19 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13981
Registered: November 2005
Ultimate Member
bonami wrote on Sun, 03 February 2008 02:29

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));
}



Do you overload "HotKey"? If yes, do you call TopWindow::HotKey at the end?

If either is not true, send a testcase, can be anything...

(FYI, just tested with UWord, it works -> prolem likely is not with U++....)

Mirek
 
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: Sun Jun 02 19:39:17 CEST 2024

Total time taken to generate the page: 0.00595 seconds