Chnaging Window Title
-
Hi, I have created a SDI application with Document/View architecture. Now every time the app starts, it displays the title "Untitled: SampleApp" in the Title Bar. What I want to do is to display only software name there. (e.g. "Sample App") How should I do that. --- Why buy the cow when milk is free?
-
Hi, I have created a SDI application with Document/View architecture. Now every time the app starts, it displays the title "Untitled: SampleApp" in the Title Bar. What I want to do is to display only software name there. (e.g. "Sample App") How should I do that. --- Why buy the cow when milk is free?
-
Hi, I have created a SDI application with Document/View architecture. Now every time the app starts, it displays the title "Untitled: SampleApp" in the Title Bar. What I want to do is to display only software name there. (e.g. "Sample App") How should I do that. --- Why buy the cow when milk is free?
-
override PreCreateWindow
BOOL CMainFrame::PreCreateWindow (CREATESTRUCT& cs)
{
// remove "untitled" from the title bar of the window
cs.style &= ~FWS_ADDTOTITLE;return CFrameWnd::PreCreateWindow (cs);
}
Judy
Hey, thanks it's just what i wanted.... i guess i need to read a lot... Regards, Abhijeet