I'm using the SDI framework in my application. I just added a customized treeview object to a couple of my FormViews. The object needs to call the SubclassDlgItem function upon initialization, but If I try to open a file or start a new file, I get an assert failed message calling CWND::Attach(...). Anyone have any ideas. Thanks.