mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-06-14 03:16:38 +10:00
@@ -3861,9 +3861,13 @@ if (!g_bTrimHooks)
|
|||||||
|
|
||||||
// right-click on the start button - open the context menu (Settings, Help, Exit)
|
// right-click on the start button - open the context menu (Settings, Help, Exit)
|
||||||
HMENU menu=CreatePopupMenu();
|
HMENU menu=CreatePopupMenu();
|
||||||
CString title=LoadStringEx(IDS_MENU_TITLE);
|
CString titleFmt=LoadStringEx(IDS_MENU_TITLE);
|
||||||
if (!title.IsEmpty())
|
if (!titleFmt.IsEmpty())
|
||||||
{
|
{
|
||||||
|
CString title;
|
||||||
|
DWORD ver=GetVersionEx(g_Instance);
|
||||||
|
title.Format(titleFmt,ver>>24,(ver>>16)&0xFF,ver&0xFFFF);
|
||||||
|
|
||||||
AppendMenu(menu,MF_STRING,0,title);
|
AppendMenu(menu,MF_STRING,0,title);
|
||||||
EnableMenuItem(menu,0,MF_BYPOSITION|MF_DISABLED);
|
EnableMenuItem(menu,0,MF_BYPOSITION|MF_DISABLED);
|
||||||
SetMenuDefaultItem(menu,0,TRUE);
|
SetMenuDefaultItem(menu,0,TRUE);
|
||||||
|
|||||||
@@ -427,7 +427,7 @@ BEGIN
|
|||||||
IDS_SKIN_ERR_LOAD_FILE "Failed to load the variation skin file %s.\r\n"
|
IDS_SKIN_ERR_LOAD_FILE "Failed to load the variation skin file %s.\r\n"
|
||||||
IDS_SKIN_ERR_LOAD "Error loading %s\n%s"
|
IDS_SKIN_ERR_LOAD "Error loading %s\n%s"
|
||||||
IDS_SKIN_ERR_VERSION "The selected skin is not compatible with this version of the start menu.\r\n"
|
IDS_SKIN_ERR_VERSION "The selected skin is not compatible with this version of the start menu.\r\n"
|
||||||
IDS_MENU_TITLE "== Open-Shell Menu =="
|
IDS_MENU_TITLE "Open-Shell Menu %d.%d.%d"
|
||||||
IDS_DEFAULT_SKIN "<No Skin>"
|
IDS_DEFAULT_SKIN "<No Skin>"
|
||||||
IDS_CONTROLS_SETTINGS "Controls"
|
IDS_CONTROLS_SETTINGS "Controls"
|
||||||
IDS_OPEN_NOTHING "Nothing"
|
IDS_OPEN_NOTHING "Nothing"
|
||||||
|
|||||||
Reference in New Issue
Block a user