Changing MainFrame Title at runtime
-
Hi, I'm changing my MainFrame's Title when I open a new view.But when I close this view Title is setting back to previous like when my application was opened for the first time.can anybody give me the suggetion to change the Title which does not changes even any view is opened or closed.this is very urgent. thanks in advace rgds Thomas ThomasKennedyBose
-
Hi, I'm changing my MainFrame's Title when I open a new view.But when I close this view Title is setting back to previous like when my application was opened for the first time.can anybody give me the suggetion to change the Title which does not changes even any view is opened or closed.this is very urgent. thanks in advace rgds Thomas ThomasKennedyBose
-
Hi, I'm changing my MainFrame's Title when I open a new view.But when I close this view Title is setting back to previous like when my application was opened for the first time.can anybody give me the suggetion to change the Title which does not changes even any view is opened or closed.this is very urgent. thanks in advace rgds Thomas ThomasKennedyBose
-
Will YourMainframe.SetWindowText("Test") not work? - Nitron
"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb
-
Hi, I'm changing my MainFrame's Title when I open a new view.But when I close this view Title is setting back to previous like when my application was opened for the first time.can anybody give me the suggetion to change the Title which does not changes even any view is opened or closed.this is very urgent. thanks in advace rgds Thomas ThomasKennedyBose
-
Hi, I'm changing my MainFrame's Title when I open a new view.But when I close this view Title is setting back to previous like when my application was opened for the first time.can anybody give me the suggetion to change the Title which does not changes even any view is opened or closed.this is very urgent. thanks in advace rgds Thomas ThomasKennedyBose
If you mean you don't want to have the current document's filename in the title, then in
CMainFrame::PreCreateWindow()
, turn off theFWS_ADDTOTITLE
style. --Mike-- I'm bored... Episode I bored. 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm -
As far as I know you can't set a title for the whole runtime. But you could try to handle WM_SETTEXT and there don't let it set your caption. If this doesn't work you should set your title even when a window get's closed.
Ya.............u r right......v have to set the caption even the new window gets closed.Thanks a lot. ThomasKennedyBose
-
Will YourMainframe.SetWindowText("Test") not work? - Nitron
"Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb
it will work but it won't remain even when the window gets closed ThomasKennedyBose
-
What about setting the document title by GetDocument ()->SetTitle). Also, try changing the application title in the string table
it will work but it won't remain even when the window gets closed ThomasKennedyBose