How to change the caption of a MDI frame at runtime 
Author Message
 How to change the caption of a MDI frame at runtime

Hi all...

I need to overwrite the text set in IDR_ string resource so that I can write
my own captions at runtime.

I mean the text placed between brackets:

v.g.

App Name - [caption]

How can I do that?
Thanks in advance

Jaime



Fri, 09 Sep 2005 08:39:19 GMT  
 How to change the caption of a MDI frame at runtime
I believe you can do this from inside:-

BOOL CMymdiDoc::OnNewDocument()
{
        m_strTitle = "Test";

Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only



Fri, 09 Sep 2005 23:06:00 GMT  
 How to change the caption of a MDI frame at runtime
Thanks Andy !!!



Quote:
> I believe you can do this from inside:-

> BOOL CMymdiDoc::OnNewDocument()
> {
> m_strTitle = "Test";

> Andy Mortimer [MS]
> Please do not send email directly to this alias. This alias is for
> newsgroup purposes only



Sat, 10 Sep 2005 10:21:52 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Caption Text for MDI Frame

2. MDI Child Frame caption , how?

3. How to change on runtime the caption of a C++ dialog app main window

4. How to change on runtime the caption of a C++ dialog app main window

5. Changing a Dialog's CAPTION during runtime

6. Changing Caption of CPropertyPage at runtime?

7. Change popup menu captions at runtime (ModifyMenu)

8. Change caption of childwindow runtime ?

9. Changing the Caption of a Modal Dialog at Runtime

10. Changing Floating Toolbar Caption Runtime...

11. changing Caption for MDI childframe

12. changing Caption for MDI childframe

 

 
Powered by phpBB® Forum Software