How can I change the color of the caption/title of a PropertyPage 
Author Message
 How can I change the color of the caption/title of a PropertyPage

I am trying to change the color of the caption/title of a property
page according to the state of some other controls in it.
I tried getting the tab control from the Property sheet and then using
that to change the text, but it does not serve my purpose, coz I need
to change the color of the Text and not the Text itself.
Hope to get some help here.
Thanks
Menon.


Sat, 03 Jul 2004 08:16:29 GMT  
 How can I change the color of the caption/title of a PropertyPage
Do you mean the color of the text on the tabs of the tab control? If so see if Paul DiLascia's
discussion in his Q&A C++ columns in the March and August issues of MSJ magazine help with this one.
The URLs are...

http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0398/c++0398.htm
http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0898/c++0898.htm

Jeff...


Quote:
> I am trying to change the color of the caption/title of a property
> page according to the state of some other controls in it.
> I tried getting the tab control from the Property sheet and then using
> that to change the text, but it does not serve my purpose, coz I need
> to change the color of the Text and not the Text itself.
> Hope to get some help here.
> Thanks
> Menon.



Sat, 03 Jul 2004 09:47:18 GMT  
 How can I change the color of the caption/title of a PropertyPage
Thanks Jeff,
I did manage to change Text color on the tabs. Is there any way of
removing the flicker that occurs when I redraw the tab control?
Menon.
Quote:

> Do you mean the color of the text on the tabs of the tab control? If so see if Paul DiLascia's
> discussion in his Q&A C++ columns in the March and August issues of MSJ magazine help with this one.
> The URLs are...

> http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0398/c++0398.htm
> http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0898/c++0898.htm

> Jeff...



> > I am trying to change the color of the caption/title of a property
> > page according to the state of some other controls in it.
> > I tried getting the tab control from the Property sheet and then using
> > that to change the text, but it does not serve my purpose, coz I need
> > to change the color of the Text and not the Text itself.
> > Hope to get some help here.
> > Thanks
> > Menon.



Sun, 04 Jul 2004 04:27:34 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Dynamically changing PropertyPage Title

2. how to change my child window's border color and title bar color

3. How to change the whole title (caption) of a PropertyFrame created with OleCreatePropertyFrame

4. An Easy One...(Changing Title Bar Caption)

5. Changing Title Background color

6. Change background color of dialog box title

7. Change title's bar color

8. Changing title bar color

9. WIZARD97 - changing header title color

10. How To Change The Title Bar Color

11. Changing background color of Dialog Title bar

12. Can I change window's title color dynamically?(no content)

 

 
Powered by phpBB® Forum Software