Skip to content

How to insert, delete, grayed out, enable/disable menus on runtime?

The best way to get the sub menu on runtime, Enable/Disable menu items in your menu is using CMenu MFC class's EnableMenuItem function.

The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: How to insert, delete, grayed out, enable/disable menus on runtime?