Changing the undocked windows border icon

I am using the Control Bar and when I undock a window it is basically in the
tool window format.  I don't like that!

How do I change the style of the window so the user can't close the undocked
window?

Thanks!