This imples that when a "check-type" menu is selected by the user
But there isn't a "check-type" menu item. When you create menus, you cannot specify it as being a checkable menu item.
There probably ought to be a flags parameter on CreateMenu that can be used to identify checkable menu items rather than hand-coding them.
But then, there ought to be the ability to add images to menu items too...