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 |
|
mirek
Messages: 13975 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
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 19 04:33:30 CEST 2024
Total time taken to generate the page: 0.04027 seconds
|