How to Black a Caption bar?
how can I change the BackColor of a caption bar to Black and ForeColor to White?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Bechir BejaouiRank #144 · 15.9K reputationPosted Oct 26, 2008, 1:21 PM EDT
Kirtan PatelRank #292 · 8.6K reputationPosted Oct 26, 2008, 2:00 PM EDT
System.Win32 name space by Modifying registry Values under
HKEY_CURRENT_USER\Control Panel\Desktop
it will affect all the windows caption bars
Happy Coding :)
Bechir BejaouiRank #144 · 15.9K reputationPosted Oct 30, 2008, 3:36 AM EDT
you have to use Microsoft.Win32 namespace and not System.Win32
to enter to the registry key and medify it you can use
RegistryKey key = Registry.CurrentUser.OpenSubKey( /*put here the path given by Kirtan*/ ); then you can use the key.GetValue(); and key.SetValue to change properties to what are you supposed to change