w_sp8er Posted February 17, 2004 Share Posted February 17, 2004 (edited) Hi all, I'm having a problem with the Taskbar Properties. What I'm trying to do is to make sure that the 'Show Small Icons in Start Menu' item in "Taskbar Properties\Start Menu\Customize" is ticked & that 'Expand Network Connections' is also ticked. Currently I am skipping this as I don't have any way of checking if either are ticked already or not. They are both contained inside a 'SysTreeView321' Control which doesn't return what state they are in. It would be much appreciated if anyone can help me with some code to do the above. w_sp8er Edited February 17, 2004 by w_sp8er Link to comment Share on other sites More sharing options...
GEOSoft Posted February 17, 2004 Share Posted February 17, 2004 Foe small Icons just use RegWrite to set the registry value HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SmallIcons, smallicons "yes" George Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number. Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else. "Old age and treachery will always overcome youth and skill!" Link to comment Share on other sites More sharing options...
w_sp8er Posted February 17, 2004 Author Share Posted February 17, 2004 Do you need to restart for it to take effect? Link to comment Share on other sites More sharing options...
w_sp8er Posted February 17, 2004 Author Share Posted February 17, 2004 didn't work tried RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartMenu\SmallIcons", _ "DefaultValue", "REG_DWORD", "1") also nogo Link to comment Share on other sites More sharing options...
Valik Posted February 17, 2004 Share Posted February 17, 2004 Try calling EnvUpdate() after making the change. If that doesn't work, try rebooting, or you might be able kill explorer.exe and restart it. In any event, you're going to have to cause some event to make explorer reload... Link to comment Share on other sites More sharing options...
bcording Posted February 17, 2004 Share Posted February 17, 2004 A function that could notify the entire system would be a variation on the EnvUpdate. Basicly EndUpdate broadcasts a system wide WM_SETTINGCHANGE message for the environment. A broadcast could also be sent regarding the specific registry branch.Here is the API info:WM_SETTINGCHANGE 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