Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×


  • Posts

  • Joined

  • Last visited

  • Donations


Everything posted by Skrooks

  1. I just downloaded your program and noticed that you had these 7 visual effects all linked together: Smooth scroll list boxes Slide open combo boxes Fade or slide menus into view Show shadows under mouse pointer Fade or slide tooltips into view Fade out menu items after clicking Show shadows under menus Here's some pseudo code on how you might be able to break these up... int A = 1; // Smooth scroll list boxes int B = 1; // Slide open combo boxes int C = 1; // Fade or slide menus into view int D = 1; // Show shadows under mouse pointer int E = 1; // Fade or slide tooltips into view int F = 1; // Fade out menu items after clicking int G = 1; // Show shadows under menus // A through G = 1 for on, 0 for off byte B1, B2, B3, B4; B1 = 145 + A*8 + B*4 + C*2 B2 = 18 + D*32 + E*8 + F*4 B3 = 1 + G*4 B4 = 128 UserPreferencesMask = B1,B2,B3,B4
  2. I obtained these results using fresh install of WinXP SP2 Pro. I exported the entire registry, tried changing the performance settings, then exported another copy of the registry to see where any changes had been made. These results only pertain to the current user. I tried setting these for the default user in the registry and they didn't seem to take.
  3. I'm new to the boards, so I'm not really sure if this has been posted yet. I tried searching the forums and didn't find anything this detailed about the registry locations for visual effects. EDIT: Found Completely VisualEffects Detail and a work in progress by smc1979. To access visual effects performance options normally under Windows XP, access System Properties through the Control Panel, go to the Advanced tab, then click the Settings button under Performance. First off, I initially found most of these registry entries under HKEY_USERS\S-1-5-21-*****-500\, where the second part of this key is a unique identifier for the user. I suspect that this is used as the root for HKEY_CURRENT_USER, so I shall be using HKCU to refer to this location. Here's how to choose which performance option to use: [HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects] ;0 = Let Windows choose what's best for my computer ;1 = Adjust for best appearance ;2 = Adjust for best performance ;3 = Custom "VisualFXSetting"=dword:00000003 Here's the locations for each visual effect, in no particular order. All values are set to enable the visual effect. [HKCU\Software\Microsoft\Windows\CurrentVersion\ThemeManager] ;Use visual styles on windows and buttons (0=off 1=on) "ThemeActive"="1" [HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] ;Use common tasks in folders (0=off 1=on) "WebView"=dword:00000001 ;Show translucent selection rectangle (0=off 1=on) "ListviewAlphaSelect"=dword:00000001 ;Use drop shadows for icon labels on the desktop (0=off 1=on) "ListviewShadow"=dword:00000001 ;Use a background image for each folder type (0=off 1=on) "ListviewWatermark"=dword:00000001 ;Slide taskbar buttons (0=off 1=on) "TaskbarAnimations"=dword:00000001 [HKCU\Control Panel\Desktop\WindowMetrics] ;Animate windows when minimizing and maximizing (0=off 1=on) "MinAnimate"="1" [HKCU\Control Panel\Desktop] ;Show window contents while dragging (0=off 1=on) "DragFullWindows"="1" ;Smooth edges of screen fonts (0=off 2=on) "FontSmoothing"="2" ;Smooth scroll list boxes ;Slide open combo boxes ;Fade or slide menus into view ;Show shadows under mouse pointer ;Fade or slide tooltips into view ;Fade out menu items after clicking ;Show shadows under menus ;(All off = 90,12,01,80 All on = 9e,3e,05,80) "UserPreferencesMask"=hex:9e,3e,05,80 This last entry deserves some elaboration. UserPreferencesMask uses a 4 byte entry to hold the values for 7 different visual effects, and probably a few other options. If we expand this 4 byte hex entry into binary, we get 1001ABC0 00D1EF10 00000G01 10000000 where bits A - G are used for the following visual effects using 0=off and 1=on A = Smooth scroll list boxes B = Slide open combo boxes C = Fade or slide menus into view D = Show shadows under mouse pointer E = Fade or slide tooltips into view F = Fade out menu items after clicking G = Show shadows under menus For example: 1001ABC0 00D1EF10 00000G01 10000000 10010000 00010010 00000001 10000000 = 90 12 01 80 (all off) 10011110 00111110 00000101 10000000 = 9e 3e 05 80 (all on) 10010000 00110010 00000101 10000000 = 90 32 05 80 (mouse and menu shadows) I hope this helps. If I made any mistakes or if anyone knows what the other bits for the UserPreferencesMask are used for, please post and let me know.

  • Create New...