开发者

Is there a way to know if the user has enabled "single click to open an item" in the control panel?

开发者 https://www.devze.com 2022-12-20 21:20 出处:网络
My program needs to know when the user has enabled \"Single-click to open an item (point to select)\" in the folder options window in file explorer. I have a mouse aid program and I need to know what

My program needs to know when the user has enabled "Single-click to open an item (point to select)" in the folder options window in file explorer. I have a mouse aid program and I need to know what this setting is s开发者_如何学Pythonet to programmatically? Is this available in the registry or something?


I think it's SHGetSettings when fDoubleClickInWebView is false


I found this on Kelly's Korner

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer]
"ShellState"=hex:24,00,00,00,13,a8,01,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  01,00,00,00,0d,00,00,00,00,00,00,00,02,00,00,00

I don't know which value sets the single click mode, so you'll have to disable it and compare the registry with this string to see which it is.

The same information is on a Microsoft support page, but as it's referring to IE 4 and IE 5 I was worried it was outdated.

There's a reg file you can download, but it appears to be missing the initial open double quote.

0

精彩评论

暂无评论...
验证码 换一张
取 消