Use control menu attributes to configure control, also called context or pop-up, menus. You can get and set control menu attributes by using GetCtrlMenuAttribute and SetCtrlMenuAttribute. The following is a list of all control menu attributes.
Dimmed
Menu Item Bold
Menu Item Checked
Menu Item is Separator
Menu Item Name
Menu Item Name Length