Re: Q) How to control the text in the Title bar?
Did you get this answer in the other thread here? Just in case look at:
http://www.codeguru.com/forum/archive/index.php/t-217645.html
Tom
"Daum" <Daum@discussions.microsoft.com> wrote in message
news:3512E7E3-D229-4B0B-A444-886F6236A169@microsoft.com...
Hello,
I inserted " cs.style &= ~FWS_ADDTOTITLE;" into the
CMainFrame::PreCreateWindow(CREATESTRUCT& cs), the titile was disappeered.
That is my one mission.
Another mission is to add the string into the title bar.
I'm trying the second mission.
thank you.
"David Lowndes" wrote:
Q) Could you please tell me where display the "Untitled-myTeatApp"
title?
Can I exclude "Untitile-" from "Untitled-myTeatApp" string.
Daum,
You can override the default caption bar text - have a look in the
MSDN documentation for FWS_PREFIXTITLE or FWS_ADDTOTITLE. In addition
there's an old KB article 99182 "How To Change an MFC-Based MDI Child
Window's Frame Text" which you may find useful.
Dave