Untitled document/aplication?!!?!
-
How can I modify the Untitled "title" that apears in my SDI aplication? I modified AFX_IDS_APP_TITLE "My aplication". But on the right of it it apears Untitled like this: Untitled= My aplication. So???
-
How can I modify the Untitled "title" that apears in my SDI aplication? I modified AFX_IDS_APP_TITLE "My aplication". But on the right of it it apears Untitled like this: Untitled= My aplication. So???
What exactly is it that you are wanting? If you are not wanting "Untitled" in the caption, see here.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
How can I modify the Untitled "title" that apears in my SDI aplication? I modified AFX_IDS_APP_TITLE "My aplication". But on the right of it it apears Untitled like this: Untitled= My aplication. So???
Serch for IDR_MAINFRAME in string table resource and insert the desired string between first and second '\n', like for example:
MyApp\nMY COOL NEW DOCUMENT\nMyApp\n\n\nMyApp.Document\nMyApp Document
-- modified at 9:01 Thursday 3rd August, 2006 PS. Tanar, tanar, dar de ce asa de nelinistit? ;)
Ovidiu Cucu Microsoft MVP - Visual C++
-
Serch for IDR_MAINFRAME in string table resource and insert the desired string between first and second '\n', like for example:
MyApp\nMY COOL NEW DOCUMENT\nMyApp\n\n\nMyApp.Document\nMyApp Document
-- modified at 9:01 Thursday 3rd August, 2006 PS. Tanar, tanar, dar de ce asa de nelinistit? ;)
Ovidiu Cucu Microsoft MVP - Visual C++
... and moreover, if you want to write in the caption anything your muscles want, override CFrameWnd::OnUpdateFrameTitle, like for example:
class CMainFrame : public CFrameWnd { // ... // Overrides public: virtual void OnUpdateFrameTitle(BOOL bAddToTitle); // ... }; void CMainFrame::OnUpdateFrameTitle(BOOL bAddToTitle) { SetWindowText(_T("Asta-i pohta ce-am pohtit!")); }
:)
Ovidiu Cucu Microsoft MVP - Visual C++