Article with the button is pressed when sending to the parent window s news and menu news, so can use the same ON_COMMAND macros by mapping the button, the same article tools also support the ON_UPDATE_COMMAND_UI relevant operation, such as SetCheck, Enable, you can bring the menu button as the one with the same ID menu items.
File list:
61_g1.gif

61_g2.gif

62_g1.gif

62_s1.zip
63_g1.gif

63_s1.zip
teach_road_61.htm
teach_road_62.htm
teach_road_63.htm
zguso.txt
zzzhes.txt