i have this Code which work with Xbase++ and ot4xb from Pablo Botella (www.xbwin.com)
Code: Select all
#IFDEF __XPP__
nColor := AutomationTranslateColor(GRA_CLR_PINK,.F.)
nRet := @User32:SetSysColors(1, {COLOR_SCROLLBAR}, {nColor}) // this Work !
#ELSE
// AutomationTranslateColor(GRA_CLR_PINK,.F.) -> 16711935
nRet := DLLcall("USER32.DLL",DLL_OSAPI,"SetSysColors",1,{COLOR_SCROLLBAR}, {16711935})
#ENDIF
who can make it work with harbour ! Note : you can "see" these Color only when use NO "XP Manifest"
SetSysColors function
https://docs.microsoft.com/en-us/window ... tsyscolors