Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
How do I change the Single Document's name I mean the Caption of the program!
Try CDocument::SetTitle() If you are doing this from the view class, you can call GetDocument()->SetTitle(_T("Whatever"));. (This assumes there _is_ a CDocument attached to the view - better code might check that GetDocument() doesn't return NULL).
CDocument::SetTitle()
GetDocument()->SetTitle(_T("Whatever"));
http://home.socal.rr.com/samhobbs/VC/ChangeTitle.html