Advertisement

Changing Caption Color

Started by December 24, 2001 10:52 PM
0 comments, last by DJ_GL 23 years, 2 months ago
Ok, I''ve been having some problems changing the color of the caption on window. I used the SetSysColor() function and it freakin changed the caption color of all my windows. Does anyone know how to change the color of the caption of a window and not all the windows of WindowsXP/98/whatever? Here''s the code I used WM_CREATE: int elements[1]={COLOR_ACTIVECAPTION}; DWORD aColors[1]; aColors[0] = RGB(0xFF, 0xFF, 0xFF); // white <--test SetSysColors(1,elements,aColors); return 0; I tried sending a message with WM_SETTINGCHANGE but nothing happened.
Languages: C/C++ C# JavaAPIs: Win32 OpenGL DirectXWeb: &#106avascript Perl JSP PHP-MySQL Oracle Database Programming</span><a href='http://www.ethereal-studios.com'>http://www.ethereal-studios.com</a></a>
Well guys, I may not need help after all, I just got Programming Windows Fifth Edition by Charles Petzold for Christmas. Man, it's awesome! My mom and dad said it was the last copy left at Barnes and Nobles. :-D


Marry Christmas Everyone!

Edited by - DJ_GL on December 25, 2001 9:42:18 AM
Languages: C/C++ C# JavaAPIs: Win32 OpenGL DirectXWeb: &#106avascript Perl JSP PHP-MySQL Oracle Database Programming</span><a href='http://www.ethereal-studios.com'>http://www.ethereal-studios.com</a></a>

This topic is closed to new replies.

Advertisement