MFC: how set context menu checked?

here's my menu bar: Element --> Line, Rect... It get checked each time I choose one Element.
I copy this menu to the context menu, but the context menu doesn't get checked?

What should I do to get item checked both context menu and menu item?
Topic archived. No new replies allowed.