Well, that's a different approach. It means that whenever (and wherever) you change m_bLock, you have to get to the menu item and change it. The other approach goes the other way, whenever the menu needs to be shown (and only then), you get the chance to alter its state (enable, check, text, etc.). Besides, it's a general mechanism you can use for any menu item. But I agree that, if that's the only menu item you need to change and if m_bLock is only changed in a single place, your method is simpler :) -- jlr http://jlamas.blogspot.com/[^]