reactos/dll/win32/shell32/dialogs
Oleg Dubinskiy eb96d377d1
[SHELL32] Allow custom shortcut overlay icon (#6419)
Use correct icon index in SIC_OverlayShortcutImage() to properly load
shortcut overlay icon from registry instead of always using default icon.
This allows to use custom shortcut icon set by user, in case it was
specified there.

As FIXME comment stated, the icon indexes were not implemented in the far
past, so this workaround was badly required. But now they are implemented,
so no need to always use default resource from shell32, enable the correct
code instead.

Also adapt this to CShellLink::CreateShortcutIcon() when the shortcut icon
is being changed in its properties dialog, as well as in CNewMenu class
when displaying menu items for creating a new folder or a shortcut.

Addendum to f9a5344254. CORE-14758
2024-03-04 16:30:43 +03:00
..
dialogs.cpp [MSGINA] Convert shutdown/logoff boxes back to modal dialog boxes (#5114) 2023-07-14 15:02:40 +03:00
drive.cpp [SHELL32] Prevent a second call to Drive Properties dialog (#4888) 2022-11-20 21:10:11 +03:00
drvdefext.cpp [SHELL32] Improve disk properties pie chart (#5239) 2023-05-05 13:35:32 +02:00
drvdefext.h [SHELL] IShellExtInit::Initialize uses PCIDLIST_ABSOLUTE. CORE-16385 2019-09-29 12:09:02 +02:00
filedefext.cpp [SHELL32] Allow custom shortcut overlay icon (#6419) 2024-03-04 16:30:43 +03:00
filedefext.h [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
filetypes.cpp [SHELL32] Fix 2 compiler warnings for the rls-cfg 'unused variable' (#6539) 2024-02-26 13:42:13 +01:00
folder_options.cpp [SHELL32] Tweak formatting and logging 2024-02-20 02:08:56 +01:00
folder_options.h [SHELL32] Split dialogs/folder_options.cpp (#582) 2018-06-06 14:04:50 +02:00
fprop.cpp [SHELL32] Show file / drive properties at the position where the mouse was. 2022-10-14 21:02:33 +02:00
general.cpp [FORMATTING] Remove trailing whitespace. Addendum to 34593d93. 2021-09-13 03:52:22 +02:00
recycler_prop.cpp [SHELL32] Recycle-Bin: Validate the MaxCapacity value with respect to the available disk space. (#1688) 2019-07-07 19:01:09 +02:00
view.cpp [SHELL32] Use wide char string literals. 2022-01-09 22:39:29 +01:00