I've derived a class from CToolBar to get rid of the system's close box for all toolbars, but the derived class doesn't seem to redraw/clear the border properly while the toolbar is docked. If I make the application's window bigger or move it up, the toolbar's border contains whatever was at that screen position previously. It does NOT clear the border first and then draw it in a grey (or whatever).

Any ideas?