AriesSyntax Posted October 6, 2004 Share Posted October 6, 2004 If those info already had been posted, please just ignore it.If something is incorrect, please tell me.What happen to VisualEffects code ? After doing some research, i figure out what happened ~First there 3 part of code control what your XP's VisualEffects* Part 1. the default value for the reset to default BTN* Part 2. the default value for the setting window to check or uncheck the option checkbox* part 3. the reall codes that effect the VisualEffects and where they had been stored and what they means### Part 1. ### the default value for the reset to default BTNthe defination of this is in the subkey of [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder]like AnimateMinMax,ComboBoxAnimation,CursorShadow...etc.ex:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewAlphaSelect]"Type"="checkbox" --> the type what it is, a checkbox as u see in the performence -> VisualEffect setting window"Text"="@shell32.dll,-30540" --> the text script for that checkbox"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" --> reg path to set the value"ValueName"="ListviewAlphaSelect" --> This is where the real vaule has been stored"CheckedValue"=dword:00000001 --> the value when checkbox is checked"UncheckedValue"=dword:00000000 --> the value when checkbox is unchecked"DefaultValue"=dword:00000000 --> the default vaule tp apply when reset to default BTN is pressed"DefaultByAlphaTest"=dword:00000001 --> default for alpha test "HelpID"="windows.hlp#51140" --> this is help entry for the "?" on icon upper right windowWhen u press Set to Default BTN , WindowsXP will set the value of "DefauleValue" to the "ValueName"( the reg key) of "RegPath" ( the reg path where reg key is)SomeKey does not have the "RegPath" , "ValueName" instead of "CLSID" or just no description But that is just the way where to the real value defferent, the action is the same --> press Reset to Default BTN and then DefalueValue set to where they should be storedSo now we know where the default value is stroed, but if you set Part 3 to make it as default user value at T-13 , this defalut value will be override, cause reg privillege HKCU > HKLM.### Part 2. ### the default value for the setting window to check or uncheck the option checkboxthen what the part for ?the reg code path [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects] when you open VisualEffect setting window there are 4 setting option grouped in 4 radio BTN 1. Let WindowsXP choose2. Best VisualEffect3. Best performence4. Customer settting when u choose 1, WindowsXP will set all value to check/enablewhen u choose 2, WindowsXP will set all value to uncheck/disablewhen u choose 3, WindowsXP will let u to deside which one to check/enable or uncheck/disable When u choose 1, 2 or 3, the reg code under HKCU\...\VisualEffects does not effect any thing(any checkbox) on VisualEffect setting window when u choose 0, all checkbox or radio BTN on VisualEffect window will use the value of the DefaultValue key of HKCU\..\VisualEffects\"the effect Key" Change those value of "DefalutValue" directly by reg only effect the setting window, change nothing about the VisualEffect or the real vaule where they has beed stored, but will effect the new user, add new user will use this "DefaultValue" to set the value in Part 3, and if the key "DefaultValue" of HKCU does not exist, it will use the same key of HKLM instead.Normally (the programmer thought) we should choose 1. Let WindowsXP choose.And then WidwosXP will set all checkbox to show if they check/enable or not by using the value of "DafalutValue".And then if we press OK or Apply BTN, WindowsXP will set the value to where they should be stored (cancle to set nothing).What heppened if we edit reg directly ? If we edit the registry directly, this will happen (for ex. set "VisualFXSetting" to 0), the checkbox is unchecked but the VisualEffect is still on when u open the VisualEffect window, and the apply BTN is gray (means u change nothing), then when u press OK, WindowsSP will not set value( just like u press cancle BTN), cause WindowsXP think u did not chenge anything. (every time until u do make a change)(also Set "VisualFXSetting" to 1 all checkbox will checked, Set "VisualFXSetting" to 2 will make all checkbox to be unchecked nomatter they actualy enable or not)So what i want to say is if u do not edit the Value where is stored and the "DefaultValue" at the same time, when u open VisualEffect setting window, the value (checked or not) show in that window may different from your reall setting that you are using. That confuse some people a lot ~So. we could change Part 2. and Part 3. at the same time to sync it, but this means you are change the default for new user too.### part 3. ### the reall codes that effect the VisualEffects and where they had been stored and what they means(Notic: use it = checked = enable ; not to use it = unchecked = disable)(some of those value also can be sett thgough Desktop --> right kick properties --> Visual tab --> Effects)those are where the real setting been stored:[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced] 1. WebView2. ListViewWaterMart3. TaskbarAnimations4. ListViewShadow5. ListViewAlphaSelect[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics] 1. MinAnimate[HKEY_CURRENT_USER\Control Panel\Desktop] 1. FontSmoothing 2. DragFullWindows3. UserPreferencesMaskand what they means : a. WebView (dword) : Use common tasks in folders 1 to use it , 0 to not to use it(you may also want to see WebviewBarricade and HKCU\...\Explorer\WebView\BarricadedFolders to override WebView one by one, ex: "shell:ControlPanelFolder"=dword:00000000, same as WebView, 0 to not to use it)b. ListViewWaterMart (dword) : Use background image for each folder type1 for yes, 0 for noc. TaskbarAnimations (dword) : Slide taskbar buttons1 for yes, 0 for nod. ListViewShadow (dword) : Use drop shadows for icon labels on the desktop1 for yes, 0 for noe. ListViewAlphaSelect (dword) : Show translucent selection rectangle1 for yes, 0 for nof. MinAnimate (sz) : Animate Windows when minimizing and maximizing1 for yes, 0 for nog. FontSmoothing (sz) : Smooth edges of screen fonts2 for yes, 0 for no(Yes, set to 2 if you want to enable, see also "FontSmoothingType" (dword) 1 for standar 2 for clear type but "FontSmoothingOrientation" ? i have no idea)h. DragFullWindows (sz) : Show window contents while dragging1 for yes, 0 for noi. UserPreferencesMask (hex 32-bits) : This is a bits mask muti-Value bit 0 : Active window tracking : 0 for no 1 for yes (hmmm this is another way to set Active window tracking, all i know there 3 different way )bit 1 : Menu animation : Fade or slide menu items into view : 1 for enable, 0 for disable, but effect depend on bit 9bit 2 : Combo box animation : Slide open combo boxes : 1 for enable, 0 for disablebit 3 : List box smooth scrolling : Smooth-scroll list boxes : 1 for enable, 0 for disablebit 4 : Gradient captions : Gradient effect for window title bars : 1 for enable, 0 for disablebit 5 : Keyboard cues : Menu access key letters underlined when u press ALT : 0 for enable, 1 for disablebit 6 : Active window tracking Z order : Windows activated through active window tracking are not brought to the top : 0 for enable, 1 for disablebit 7 : Hot tracking : 1 for enable, 0 for disablebit 8 : Reserved for future use, and used now ? i have no idea, always 0bit 9 : Menu fade : Menu animation effect : 1 for yes, 0 for nobit 10 : Selection fade : Menu animation effect : 1 for yes, 0 for nobit 11 : Tool tip animation : Fade or slide ToolTips into view : 1 for enable, 0 for disable, but effect depend on bit 12 if 1 -> fade, 2 -> slidebit 12 : Tool tip fade : Tool tip animation effect : 1 for enable,0 for disable, but ignore if bit 11 is 0 bit 13 : Cursor shadow : Show shadows under mouse pointer : 1 for yes, 0 for nobit 17 : Use visual styles on windows and buttons : 1 for yes, 0 for nobit 18 : Show shadows under menus : 1 for yes, 0 for nobit 31 : UI effects : does it ecceft any UI : 1 for all yesl, 0 for all noand bit 14,15,16,19 - 30 ? those bits are reserved for future use. and some of them are in use on WindowsXPbit 14,15,16 control mouse behaviourNow ~ what you want your Windows look like ? jsut set it ~ Link to comment Share on other sites More sharing options...
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 account
Already have an account? Sign in here.Sign In Now