Have you checked into the SetSysColor API call, using SYSCOL_ACTIVECAPTION = 2 as the 2nd parameter.
In your declarations section
Code:
Declare Function SetSysColors Lib "user32" (ByVal nChanges As Long, lpSysColor As Long, lpColorValues As Long) As Long
Const SYSCOL_ACTIVECAPTION = 2
Thanks a lot for your usefull answer : it works fine... but it changes the color of all windows. Do you know if it's possible to change only the active window ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.