Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Setting accelerator to the context menu item.

Post Reply
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Setting accelerator to the context menu item.

Post by salvadordf »

Hi,

Several demos have a customized context menu. See the Chromium1BeforeContextMenu and Chromium1ContextMenuCommand procedures in MiniBrowser.

I can't see the pictures but you have to set the right GlobalCEFApp.Locale and copy the CEF binaries correctly. It's required that you copy the American English locale even if you don't use it.
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Setting accelerator to the context menu item.

Post by salvadordf »

There seems to be a problem in Chromium setting any function key as a menu accelerator.

Some Chrome versions in Windows doesn't show the accelerator keys in the context menu but the Linux version of Chromium shows Control+R for the "Refresh" command.

I would do what Chromium does : If there are alternative shortcuts without function keys, set them as accelerators.
Post Reply