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 » Developing U++ » Mac OS » Unwanted search Ctrl in Help menu item
Unwanted search Ctrl in Help menu item [message #51439] Mon, 25 March 2019 21:48 Go to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

I am experiencing a weird behavior (under X11 mode). The menu has an additional Search ctrl that I haven't coded.
See picture:
index.php?t=getfile&id=5792&private=0

This is the code

void VegaMain::VegaMainMenu(Bar& menu)
{
	menu.Add(t_("File"), THISBACK(File) ).Key(K_CTRL_F);
	menu.Add(t_("Standing"), THISBACK(Standing) ).Key(K_CTRL_X);  
	menu.Add(t_("Extras"), THISBACK(Extras) ).Key(K_CTRL_X);  
	menu.Add(t_("Rating Report"), THISBACK(ReportCB) ).Key(K_CTRL_R);  
	menu.Add(t_("Help"), THISBACK(Help) ).Key(K_CTRL_H);  
}

//....
// and then
//....
void VegaMain::Help(Bar& bar)
{
	bar.Add(t_("Content"), THISBACK(HelpContent));
	bar.Separator();
#ifndef PLATFORM_LINUX 
 	bar.Add(t_("Register ..."), THISBACK(HelpRegister));
 	bar.Add(t_("Registered to ..."), THISBACK(HelpRegistered));
	bar.Separator();
#endif
	bar.Add(t_("Check Update"), THISBACK(CheckUpdate));
	bar.Separator();
	bar.Add(t_("About"), THISBACK(HelpAbout));
}


Moreover all the items do not work, i.e. they do not perform any action.

The same code works OK under Windows and Linux.
Thanks,
Luigi
  • Attachment: pic1.png
    (Size: 322.21KB, Downloaded 396 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can I compile without X11? (Mojave)
Next Topic: How to set the icon App
Goto Forum:
  


Current Time: Sun Apr 28 02:56:32 CEST 2024

Total time taken to generate the page: 0.05041 seconds