The software I am working on manages a set of objects. Each object has a name. A dialog box allows you to change the properties of the object. The name of the object is shown in the title bar of the dialog box. I want to be able to change the name of the object by clicking in the title bar and editing the name directly. Does anyone know whether, and how this can be done?

Many thanks.