The toolbars, the data view, the weights view, the log view, query windows, the map legend, and other windows can be docked within the windows that contain them. When docked, the data view or toolbar is fixed to the edge of the window.
Undocked windows and toolbars have a title bar, docked items are part of a larger window and have a handle. Most items in the interface start out docked until you change them.

To undock a view or toolbar, double click on its handle to send it to its most recent undocked position.
Alternatively, you can undock a view or a toolbar by clicking its handle and dragging it into a new position.
You can redock a view or toolbar by double clicking the title bar This will send it to its most recent docked position.
Or, you can dock an item by clicking on its title bar and then dragging it to a new location. When being dragged, An undocked window has a thick shadow outline, when you reach a location where it can be docked, the shadow edge of the window will turn thin. The docking depends on the position of the cursor, not the position of the shadow edge. When you release the mouse the item will be docked to that edge.