It is different from COMMAND Message! This sort of message handler is specifically aimed at updating the menu item properties before the item is displayed!!
If you want to mark some menuitems before the menu displaying in the windows form ,you can use the message and finish the message's handling function.