[STOBJECT]

Reorder volume menu items
patch by Jared
CORE-9468

svn path=/trunk/; revision=67011
This commit is contained in:
Christoph von Wittich 2015-04-02 06:09:25 +00:00
parent 259657ecfa
commit aa68fcbde6

View file

@ -216,12 +216,12 @@ static void _ShowContextMenu(CSysTray * pSysTray)
{
WCHAR strAdjust[128];
WCHAR strOpen[128];
LoadStringW(g_hInstance, IDS_VOL_ADJUST, strAdjust, _countof(strAdjust));
LoadStringW(g_hInstance, IDS_VOL_OPEN, strOpen, _countof(strOpen));
LoadStringW(g_hInstance, IDS_VOL_ADJUST, strAdjust, _countof(strAdjust));
HMENU hPopup = CreatePopupMenu();
AppendMenuW(hPopup, MF_STRING, IDS_VOL_ADJUST, strAdjust);
AppendMenuW(hPopup, MF_STRING, IDS_VOL_OPEN, strOpen);
AppendMenuW(hPopup, MF_STRING, IDS_VOL_ADJUST, strAdjust);
DWORD flags = TPM_RETURNCMD | TPM_NONOTIFY | TPM_RIGHTALIGN | TPM_BOTTOMALIGN;
DWORD msgPos = GetMessagePos();