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:
Ged Murphy 2007-08-02 23:31:32 +00:00
parent 867e2eb7f4
commit c5997cd18b

View 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));
}