[STOBJECT] Mark hotplug, power and volume context menu default items
[reactos.git] / dll / shellext / stobject / hotplug.cpp
index 1d2a587..af7d698 100644 (file)
@@ -219,6 +219,7 @@ static void _ShowContextMenuR(CSysTray * pSysTray)
     CString strMenu((LPWSTR)IDS_HOTPLUG_REMOVE_2);
     HMENU hPopup = CreatePopupMenu();
     AppendMenuW(hPopup, MF_STRING, IDS_HOTPLUG_REMOVE_2, strMenu);
+    SetMenuDefaultItem(hPopup, IDS_HOTPLUG_REMOVE_2, FALSE);
 
     SetForegroundWindow(pSysTray->GetHWnd());
     DWORD flags = TPM_RETURNCMD | TPM_NONOTIFY | TPM_RIGHTALIGN | TPM_BOTTOMALIGN;