mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
activate the properties option in the menu, also make it bold
See issue #2522 for more details. svn path=/trunk/; revision=28113
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user