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. If a window has a title bar, Windows lets the user use the mouse to move the window.