5

I'm developing a WPF that needs to make desktop icons and folder icons bigger while the WPF is active and returns them to their previous state when closing the WPF

basically I want to be able to control the following options programmatically:

Folders icons : folder icons

desktop icons:

desktop icons

also how to change folder option to single click mode : folder options

6
  • 1
    sevenforums.com/customization/… Commented Apr 14, 2017 at 11:27
  • @apocalypse any advice on how to apply these registry changes in C# code ? Commented Apr 14, 2017 at 11:36
  • Use the Registry class. stackoverflow.com/questions/8816178/… Commented Apr 14, 2017 at 11:51
  • 1
    There's no API for this. The user already has a way to do this. Commented Apr 14, 2017 at 15:08
  • Ask yourself, what if two programs did this? What if some other app wanted small icons? Commented Apr 15, 2017 at 12:45

1 Answer 1

2

Folder icon settings are often per-folder and you will have a hard time forcing your preferences on them. You can probably find some descriptions of the registry locations and format if you search the internet for "shellbags" but this puts you in undocumented territory.

The desktop icon mode can probably be changed by undocumented/hacky means but you should just let the user do it.

You might be able to change the double-click mode by playing with fDoubleClickInWebView and SHGetSetSettings.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.