Another question appears from time to time in the forums is how to create a command whose buttons can appear in a checked / unchecked state. Although they are very easy to create, the answer is far from obvious if you don’t know where to look:
HOWTO: Create a checked/unchecked command in a Visual Studio add-in
http://www.mztools.com/articles/2007/MZ023.htm