Getting the Right Background Pattern in Windows XP |
|
HKEY_CURRENT_USER\Control Panel\Colors\Menu
but now this is the color of menu panels and the normal backgroundColor is stored in:
HKEY_CURRENT_USER\Control Panel\Colors\MenuBar
I’ve informed Scott of this problem and await his comments but for now
here’s the workaround script:
if word 1 of the systemVersion is "NT" and word 2 of the systemVersion > 5 then
put queryRegistry("HKEY_CURRENT_USER\Control Panel\Colors\MenuBar") into tColor
if tColor <> "" then
put word 1 of tColor,word 2 of tColor,word 3 of tColor into tColor
set the backgroundColor of this stack to tColor
end if
end if
If you put it in the startup handler of your main/standalone stack then the correct color is inherited by
all other stacks.