EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SetIcon overlays my icon on the default icon

Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
Posted: 07/27/2011 03:44:04
by david zhou (Basic support level)
Joined: 07/27/2011
Posts: 4

I am eveluating version 3.1.89.

What I did:
1. Call InstallIcon to install my icon to CBFS.
2. Reboot my computer.
3. Call SetIcon after AddMountingPoint to apply my icon on the virtual drive.

The icon appeared on the drive, but it overlaid on the default icon instead of replacing it.

The dimensions in my icon file are: 256x256, 48x48, 32x32, 24x24, 16x16.

Is this by design? Or what else I should do to replace it? Thanks.

Posted: 07/27/2011 05:16:31
by Vladimir Cherniga (EldoS Corp.)

Custom icons is implemented through the icon overlay mechanism and restricted to 25 percentages of original icon size (except 16x16 icons). Overlay icons maps as follow:
Core shell code (for example, a shortcut) 10x10 (for 16x16), 16x16 (for 32x32), 24x24 (for 48x48), 128x128 (for 256x256).
Posted: 12/14/2012 17:10:03
by Tamer Mash (Basic support level)
Joined: 11/12/2012
Posts: 1

So there's no way to replace the icon instead of overlaying it? Or can we replace the icon completely?
Posted: 12/15/2012 00:56:10
by Eugene Mayevski (EldoS Corp.)

No, you can't replace the icon. Maybe it's possible via some very tricky shell extension, but CBFS doesn't support this.

Sincerely yours
Eugene Mayevski



Topic viewed 2835 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!