mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
eb96d377d1
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
|
||
---|---|---|
.. | ||
appbar.c | ||
brsfolder.c | ||
classes.c | ||
clipboard.c | ||
control.c | ||
cpanel.h | ||
pidl.c | ||
pidl.h | ||
shell32_main.c | ||
shell32_main.h | ||
shellole.c | ||
shellord.c | ||
shellpath.c | ||
shellreg.c | ||
shellstring.c | ||
shlmenu.c | ||
shpolicy.c |