mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[STOBJECT]
Reorder volume menu items patch by Jared CORE-9468 svn path=/trunk/; revision=67011
This commit is contained in:
parent
259657ecfa
commit
aa68fcbde6
1 changed files with 2 additions and 2 deletions
|
@ -216,12 +216,12 @@ static void _ShowContextMenu(CSysTray * pSysTray)
|
||||||
{
|
{
|
||||||
WCHAR strAdjust[128];
|
WCHAR strAdjust[128];
|
||||||
WCHAR strOpen[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_OPEN, strOpen, _countof(strOpen));
|
||||||
|
LoadStringW(g_hInstance, IDS_VOL_ADJUST, strAdjust, _countof(strAdjust));
|
||||||
|
|
||||||
HMENU hPopup = CreatePopupMenu();
|
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_OPEN, strOpen);
|
||||||
|
AppendMenuW(hPopup, MF_STRING, IDS_VOL_ADJUST, strAdjust);
|
||||||
|
|
||||||
DWORD flags = TPM_RETURNCMD | TPM_NONOTIFY | TPM_RIGHTALIGN | TPM_BOTTOMALIGN;
|
DWORD flags = TPM_RETURNCMD | TPM_NONOTIFY | TPM_RIGHTALIGN | TPM_BOTTOMALIGN;
|
||||||
DWORD msgPos = GetMessagePos();
|
DWORD msgPos = GetMessagePos();
|
||||||
|
|
Loading…
Reference in a new issue