BoardBabe Posted February 8, 2006 Share Posted February 8, 2006 (edited) Came across a solution of a problem I have long wondered how to fix, the problem occures after editing and or applying a custom theme in Windows XP causing the background of certain applications menubar to appear white (such as notepad - see picture).Please see the following URL for a guide how to resolve this issue using registry.Link Edited February 8, 2006 by BoardBabe Link to comment Share on other sites More sharing options...
AndreK Posted February 8, 2006 Share Posted February 8, 2006 Yep, had this problem before.It's a problem with a combination of the registry settings in the preferencesmask (fade effect, show shadown under menu's etc) When you apply a theme and import registry settings into the preferencesmask part, from an other theme this occures. Link to comment Share on other sites More sharing options...
Djé Posted March 21, 2006 Share Posted March 21, 2006 (edited) Here is an AutoIt spell invoking that magic (see link in the first post) to heal the wounds:RegWrite("HKCU\Control Panel\Desktop", "UserPreferencesMask", "REG_BINARY", StringReplace(RegRead("HKCU\Control Panel\Desktop", "UserPreferencesMask"),5,"07"))It works fine at run time but I am conjecturing that for unattended installation, it won't work until SECOND reboot:from what I understood, the breaking occurs after the theme manager loads the custom theme. And this theme manager, AFAIK, is run for the first time only AFTER RunOnceEx is finished.Recommended usage:Compile and ... have it called by the second RunOnceEx from the first! Or test it directly in the first one. Edited March 21, 2006 by Djé Link to comment Share on other sites More sharing options...
Wesmosis Posted March 21, 2006 Share Posted March 21, 2006 thanx, yeah we face this issue from now and then Link to comment Share on other sites More sharing options...
Djé Posted March 21, 2006 Share Posted March 21, 2006 And here's a much lighter batch version:FOR /F "skip=4 tokens=2*" %%G IN ('REG QUERY "HKCU\Control Panel\Desktop" /v UserPreferencesMask') DO set upm=%%HREG add "HKCU\Control Panel\Desktop" /v UserPreferencesMask /t REG_BINARY /d %upm:~0,4%07%upm:~6% /f Link to comment Share on other sites More sharing options...
kaya Posted March 29, 2006 Share Posted March 29, 2006 Oh great!Thank you very much. I've been looking for this for a while. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now