I have a CToolBar which when dragged from its docking position, becomes a window.


It displayes that little cross 'fella' in the corner to close it.


I want to disable this. I had assumed that I could create it without one but I dont know how. I notice in Visual studio the toolbar close facilty (X) is disable How do I do that?