When the toolbar is floating there are in fact 3 (three!) windows on top of each other. The first one is a CMiniDockFrameWnd, the second one is a CDockBar, and finaly there is the CToolBar. So you cannot change the style of the miniframe by calling ModifyStyle for the toolbar. In fact, it is also very complicated to remove the miniframe's caption. If you really need this, in my article "CSizingControlBar..." in the Docking Windows section here, you will find how to do it, but be warned: this is a side feature in that library, and I didn't documented it.