Hi all,
I am C++ programmer and graduated to VC++. I am developing some skins in VC++.
Has any one tried to change the color of the cation bar, in other words has any one given your own look and feel color effect for the caption bar of a dialog.Even a small idea would help alot.
Thanks in advance
Raj

Changing the Color of the caption bar
am2112rush
just i will try today and let u know. Hope it works.
Regards
Raj
TimurKiykioglu
And even if the classwizard does not show the WM_NCPAINT handle, you can use it. Set the Handler in the message map and write your code...
WM_NCPAINT is the answer for your problem!
JP Gonzalez - MSFT
As i said i am new to VC++ programming, i just searched through the MSDN library and tried to handle this message WM_NCPAINT but in my class wizard it did not show this message under the list of available messages that can be handled.Other than that i guess WM_NCPAINT message is only for custom windows but not for Dailog captionbar. So still i have not got any solution for this. Any suggestions are wellcome.
Thanks again
Raj
Andrew Zhu
You can also look at www.codeproject.com or at this code from Paul DiLascia even it is a little bit older:
http://www.microsoft.com/msj/0697/c0697.aspx
Syed Hasnain Ali
WM_NCPAINT done the job for me. I was able to place a bitmap image on the captionbar and strech it.
Regards
Raj