Loading
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.
Editorial changes — reviews, status changes and edits — are shown to the author of this article and to the editors.