After searching through Help, I cannot find an explanation for why the property value of ID for a Menu with Popup set to TRUE is "ID cannot be edited". Using the option "Edit IDs" I am able to set it... but when I try to delete it from code with the CMenu::DeleteMenu passing the ID and the MF_BYCOMMAND option -- it fails returning zero. I am sucessfully deleting other menu items with the same approach... but they are not Popup menus, and their IDs are editable. Regards-jv
For more complete information about compiler optimizations, see our Optimization Notice.