object = accTitleBar(wndID);
Will search for a child accessible object having the ROLE_SYSTEM_TITLEBAR role.
A title bar displays the name of the window and also contains the minimize, maximize, close, context help and IME buttons as simple elements. The accValue property returns the title text.
wnd Overview | MS Accessibility