I have built an SDI Wizard-generated app CRichEditView (VS 2005 std ed) with a dialog bar class, CDialogBar1, constructed according to

How to initialize child controls in a derived CDialogBar
http://support.microsoft.com/kb/185672

The dialog bar contains two buttons, Add and Remove. Using the Wizard, I added event handlers to the CDialogBar class (OnButtonClickAdd(), etc). But the application shows the two buttons only as disabled.

I don't get it. Can't dialog bar buttons be activated to work within the dialog bar class?