Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Cannot delete popup menu in MS Visual C++ 2005

jonivelasco
Beginner
220 Views

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

0 Kudos
0 Replies
Reply