NTense wrote: class CDlgTree : public CDialogBar Not sure if this is related to your problem or not, but it might be. Check this MSDN article[^] Note this: While it is normal to derive your own dialog classes from CDialog, you do not typically derive your own class for a dialog bar. Dialog bars are extensions to a main window and any dialog-bar control-notification messages, such as BN_CLICKED or EN_CHANGE, will be sent to the parent of the dialog bar — the main window. -- jlr http://jlamas.blogspot.com/[^]