If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
single-click registry tweak?
On Sun, 30 Mar 2003 02:21:53 -0500, "Doug Knox MS-MVP"
wrote: This information is stored in the Binary value ShellState in: HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Explorer This value is only read at log on and saved at log off, unless you use the GUI, or a DLL call to refresh the system. Changing it while you're logged on will have no effect on the single or double click behavior. Pressing F5 in Explorer effects such a change made with REGEDIT, and it "sticks". In particular, this info seems to be stored in the fifth byte of "ShellState". That seems to be the beginning of a "SHELLSTATE" programming structure. The sixth bit (00100000 = 0x20) of the first byte of a SHELLSTATE structure is called "fDoubleClickInWebView". That's borne out here since I can toggle the setting (with F5 refreshing) by switching my "ShellState" between 24 00 00 00 33 ... and 24 00 00 00 13 ... The functions of the other bits and bytes in a SHELLSTATE structure are documented by MS. -- - Vince |
Ads |
#2
|
|||
|
|||
single-click registry tweak?
Thanks for the information, Vince. I wasn't aware of this. Many of the
"per-user" settings require an API call, to refresh them immediately. -- Doug Knox, MS-MVP Windows XP/ Windows Smart Display Win 95/98/Me/XP Tweaks and Fixes http://www.dougknox.com -------------------------------- Associate Expert ExpertZone - http://www.microsoft.com/windowsxp/expertzone -------------------------------- Please reply only to the newsgroup so all may benefit. Unsolicited e-mail is not answered. "Vincent Fatica" wrote in message news:3e872275$1@localhost... On Sun, 30 Mar 2003 02:21:53 -0500, "Doug Knox MS-MVP" wrote: This information is stored in the Binary value ShellState in: HKEY_CURRENT_USER\Software\Microsoft\Windows\Curr entVersion\Explorer This value is only read at log on and saved at log off, unless you use the GUI, or a DLL call to refresh the system. Changing it while you're logged on will have no effect on the single or double click behavior. Pressing F5 in Explorer effects such a change made with REGEDIT, and it "sticks". In particular, this info seems to be stored in the fifth byte of "ShellState". That seems to be the beginning of a "SHELLSTATE" programming structure. The sixth bit (00100000 = 0x20) of the first byte of a SHELLSTATE structure is called "fDoubleClickInWebView". That's borne out here since I can toggle the setting (with F5 refreshing) by switching my "ShellState" between 24 00 00 00 33 ... and 24 00 00 00 13 ... The functions of the other bits and bytes in a SHELLSTATE structure are documented by MS. -- - Vince |
#3
|
|||
|
|||
single-click registry tweak?
On Sun, 30 Mar 2003 11:59:33 -0500, Vincent Fatica
wrote: In particular, this info seems to be stored in the fifth byte of "ShellState". Though that still seems correct, my earlier, further analysis may have been off a bit (too broad). Looking more closely, all that seems certain is that the fifth and sixth bytes of the registry's "ShellState" seem to contain a "SHELLFLAGSTATE" structure ... 2 bytes containing 13 "bit-flags" (and 3 extras) whose functions are suggested by their names: struct { BOOL fShowAllObjects:1; BOOL fShowExtensions:1; BOOL fNoConfirmRecycle:1; BOOL fShowSysFiles:1; BOOL fShowCompColor:1; BOOL fDoubleClickInWebView:1; BOOL fDesktopHTML:1; BOOL fWin95Classic:1; BOOL fDontPrettyPath:1; BOOL fShowAttribCol:1; BOOL fMapNetDrvBtn:1; BOOL fShowInfoTip:1; BOOL fHideIcons:1; UINT fRestFlags:3; } SHELLFLAGSTATE -- - Vince |
#4
|
|||
|
|||
single-click registry tweak?
On Sun, 30 Mar 2003 01:08:13 -0600, "mrtee" hingelickeratnew.rr.com
wrote: Doing it through the "Tools" menu within Explorer changes the registry. Why would you want to do it the hard way? Maybe the person wants to be able to make the changes quicker. You can keep the reg files on the desktop, run the one you want, and have it changed for you much faster than using explorer. |
#5
|
|||
|
|||
single-click registry tweak?
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer
ShellState =3D=20 This is the definition of shellstate. You'll need to test as settings = like this are normally stored in memory and the registry is only read at = logon. For instance windows doesn't read this key when opening the = change dialog as it uses it's memory copy. You would use the API = function SHGetSetSettings to set it in a program. It's the = fDoubleClickInWebView member. typedef struct { BOOL fShowAllObjects:1; BOOL fShowExtensions:1; BOOL fNoConfirmRecycle:1; BOOL fShowSysFiles:1; BOOL fShowCompColor:1; BOOL fDoubleClickInWebView:1; BOOL fDesktopHTML:1; BOOL fWin95Classic:1; BOOL fDontPrettyPath:1; BOOL fShowAttribCol:1; BOOL fMapNetDrvBtn:1; BOOL fShowInfoTip:1; BOOL fHideIcons:1; BOOL fWebView:1; BOOL fFilter:1; BOOL fShowSuperHidden:1; BOOL fNoNetCrawling:1; DWORD dwWin95Unused; UINT uWin95Unused; LONG lParamSort; int iSortDirection; UINT version; UINT uNotUsed; BOOL fSepProcess:1; BOOL fStartPanelOn:1; BOOL fShowStartPage:1; UINT fSpareFlags:13; } SHELLSTATE, *LPSHSHELLSTATE; Members fShowAllObjects=20 TRUE to show all objects, including hidden files and folders. FALSE = to hide hidden files and folders.=20 fShowExtensions=20 TRUE to show file extensions, FALSE to hide them.=20 fNoConfirmRecycle=20 TRUE to show no confirmation dialog box when deleting items to the = Recycle Bin, FALSE to display the confirmation dialog box.=20 fShowSysFiles=20 TRUE to show system files, FALSE to hide them.=20 fShowCompColor=20 TRUE to show encrypted or compressed NTFS files in color.=20 fDoubleClickInWebView=20 TRUE to require a double-click to open an item when in Web View.=20 fDesktopHTML=20 TRUE to use Active Desktop, FALSE otherwise.=20 fWin95Classic=20 TRUE to enforce Microsoft=AE Windows=AE 95 Shell behavior and = restrictions.=20 fDontPrettyPath=20 TRUE to prevent the conversion of the path to all lowercase = characters.=20 fShowAttribCol=20 Not used.=20 fMapNetDrvBtn=20 TRUE to display a Map Network Drive button.=20 fShowInfoTip=20 TRUE to show a pop-up description for folders and files.=20 fHideIcons=20 TRUE to hide desktop icons, FALSE to show them.=20 fWebView=20 TRUE to display as a Web View.=20 fFilter=20 Not used.=20 fShowSuperHidden=20 TRUE to show operating system files.=20 fNoNetCrawling=20 TRUE to disable automatic searching for network folders and = printers.=20 dwWin95Unused=20 Not used.=20 uWin95Unused=20 Not used.=20 lParamSort=20 The column to sort by.=20 iSortDirection=20 Alphabetic sort direction for the column specified by lParamSort. = Use 1 for an ascending sort, -1 for a descending sort.=20 version=20 Not used.=20 uNotUsed=20 Not used.=20 fSepProcess=20 TRUE to launch folder windows in separate processes, FALSE to launch = in the same process.=20 fStartPanelOn=20 Windows XP only: TRUE to use the Windows XP-style Start menu, FALSE = to use the classic Start menu.=20 fShowStartPage=20 Not used.=20 fSpareFlags=20 Not used. Structure Information --=20 Battle analysis from Russia http://www1.iraqwar.ru/?userlang=3Den Picture of young girl with foot blown off http://news.lycos.com/news/photo.asp...s&photoId=3D2= 93509&from=3Demail --------------------------------------------------------------- David Candy http://www.mvps.org/serenitymacros --------------------------------------------------------------- "Fred" wrote in message = ... On Sun, 30 Mar 2003 01:08:13 -0600, "mrtee" hingelickeratnew.rr.com wrote: =20 Doing it through the "Tools" menu within Explorer changes the = registry. Why would you want to do it the hard way? =20 Maybe the person wants to be able to make the changes quicker. =20 You can keep the reg files on the desktop, run the one you want, and have it changed for you much faster than using explorer. |
Thread Tools | |
Display Modes | |
|
|