activate the properties option in the menu, also make it bold
authorGed Murphy <gedmurphy@reactos.org>
Thu, 2 Aug 2007 23:31:32 +0000 (23:31 +0000)
committerGed Murphy <gedmurphy@reactos.org>
Thu, 2 Aug 2007 23:31:32 +0000 (23:31 +0000)
See issue #2522 for more details.

svn path=/trunk/; revision=28113

reactos/base/applications/mscutils/servman/mainwnd.c

index 9e3e81e..b3d90d1 100644 (file)
@@ -451,6 +451,12 @@ ListViewSelectionChanged(PMAIN_WND_INFO Info,
         EnableMenuItem(hMainMenu,
                        ID_PROP,
                        MF_ENABLED);
+        EnableMenuItem(Info->hShortcutMenu,
+                       ID_PROP,
+                       MF_ENABLED);
+        SetMenuDefaultItem(Info->hShortcutMenu,
+                           ID_PROP,
+                           MF_BYCOMMAND);
     }
 
     /* activate delete menu item, if not already */
@@ -466,7 +472,6 @@ ListViewSelectionChanged(PMAIN_WND_INFO Info,
                        MF_ENABLED);
     }
 
-
     /* set selected service */
     Info->SelectedItem = pnmv->iItem;
 
@@ -487,8 +492,6 @@ ListViewSelectionChanged(PMAIN_WND_INFO Info,
                 TB_SETSTATE,
                 ID_PROP,
                 (LPARAM)MAKELONG(TBSTATE_ENABLED, 0));
-
-
 }