How to programmatically change title bar text. 
Author Message
 How to programmatically change title bar text.

I have a dialog that does not know what to display in the title until it is
displayed.  How do I programmatically change the dialogs title bar text in
the InitDialog() function?

I tried to do a this-> and search the available routines, but nothing jumped
out as being the obvious choice.

Demir



Tue, 21 Sep 2004 07:30:15 GMT  
 How to programmatically change title bar text.
SetWindowText("Whatever You Want");

TFM3

Note: Spam-resistant e-mail address


Quote:
> I have a dialog that does not know what to display in the title until it
is
> displayed.  How do I programmatically change the dialogs title bar text in
> the InitDialog() function?

> I tried to do a this-> and search the available routines, but nothing
jumped
> out as being the obvious choice.

> Demir



Tue, 21 Sep 2004 07:46:20 GMT  
 How to programmatically change title bar text.
dlg.SetWindowText();

Quote:
>-----Original Message-----
>I have a dialog that does not know what to display in the
title until it is
>displayed.  How do I programmatically change the dialogs
title bar text in
>the InitDialog() function?

>I tried to do a this-> and search the available routines,
but nothing jumped
>out as being the obvious choice.

>Demir

>.



Tue, 21 Sep 2004 07:47:28 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Changing title bar text

2. Changing text on title bar

3. Changing title bar text

4. How to change Child Title Bar Text?

5. Changing Title Bar Text of a Child Window

6. Changing text in title bar

7. Change Title Bar Text of CPropertySheet

8. Changing Title Bar Text of a Child Window

9. Text box on Title bar

10. show a text in the title bar

11. Text on title bar - Help!

12. Title Bar Text

 

 
Powered by phpBB® Forum Software