w_sp8er 0 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 Share this post Link to post Share on other sites
GEOSoft 67 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" GeorgeQuestion 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!" Share this post Link to post Share on other sites
w_sp8er 0 Posted February 17, 2004 Do you need to restart for it to take effect? Share this post Link to post Share on other sites
w_sp8er 0 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 Share this post Link to post Share on other sites
Valik 478 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... Share this post Link to post Share on other sites
bcording 0 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 Share this post Link to post Share on other sites