PyCDocument.GetTitle

string = GetTitle()

Returns the title of the current document. This will often be the file name portion of the path name.

MFC References

CDocument::GetTitle