The title bar, a rectangle at the top of the window, provides space for the window title or name. An application defines the window title when it creates the window. It can also change this name anytime by using the SetWindowText function. A title bar makes it possible for the user to move the window by using a mouse or other pointing device.