If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#46
|
|||
|
|||
Changing a filetypes icon - adding a"shortcut" like mini-icon
Mayayana,
And MS reserves 4 of them. I've not seen that mentioned anywhere. Maybe the number of "free slots" is given /after/ MS has already taken its share ? And apparently many are used up by the likes of Dropbox. Lucky me, as I do not use that. :-) So maybe using informative file names instead isn't such a bad idea. True. Its just that in my case I let the program loading the "overlay" dynamically generate the name of the "overlay" - in the simpelest way: GetModuleFilename followed by a PathRenameExtension (the program and its "overlay" can be moved and even renamed) Besides that, the "overlay" has the same icon as the program thats starting it - which (at least in my case) can easily lead into clicking the wrong entry (not that anything bad happens, but still) Than again, maybe I should really just pick a different, static icon for the new .ovl filetype ... Regards, Rudy Wieser P.s. I just did put a COM-object together which (currently) applies that icon #30 to a fileobject with a specific extension. Turns out it only needs a single object (IShellIconOverlayIdentifier, {0C6C4200-C589-11D0-999A-00C04FD655E1} ) to make it work. Drawback is that it looks like that only a single overlay icon can be applied at a time*, so its not possible to have four, each in another corner**. Though maybe thats good too, as that would get rather messy fast. *A priority must be provided wit the overlay icon, and the one with a highest priority will be used. ** I can stil create an overlay icon that /looks/ like its in another corner, but only one will be present at any time. |
Ads |
#47
|
|||
|
|||
Changing a filetypes icon - adding a"shortcut" like mini-icon
R.Wieser wrote:
Ed, You've misinterpreted my advice. Ah yes : when you don't understand my explanation its my problem and I need to "delineate" "more explicitly", but when you make a mess of it its my misinterpretation thats to blame. Sure. Now then, you have ended up in a cul-de-sac trying to solve a problem; and your brain clamours "I need to manipulate Window's shortcut facilities to advance". Have/do I ? And you know that ... how exactly ? And do you think you can conclude that cul-de-sac with the subject being just over 24 hours old when you did ? Also, do you remember posting the below ? "I strongly suspect that the little arrow isn't a system variable. If it were we'd find it tweakable in Ultimate Tweaker or Winaero Tweaker." In two sentences you show that you know little to nothing about the subject, and more likely than not have simply overlooked the setting in both(!) those tweaker programs. 'Cause as posted by Mayayana its actually rather easy to do. And to add insult to injury, rather easy to google too. This NG contains some very intelligent and Windows-savvy people who would be capable of feasibility studies, fact-finding and recommendation reports; the tools of a systems analyst. Use us. Yeah, there are. I already spoke with a few. Its just that I don't think you are one of them. You "know" too much without bothering to support or (obviously) verify it. And your "lets drop something before it has run its course and look at something else instead" also doesn't quite work. Regards, Rudy Wieser Have you gained a satisfying solution to the problem you put before us? You've certainly stimulated some discussion, and maybe that's worth something; but you still have your problem. And throwing **** around like a low-life won't resolve that, so I won't go there. Personal experience and its limitations; that's your way out of the dead-end. Have you ever faced a perilous challenge? One that takes you to the limit? One where you're so taxed that your whole life flashes before you, as your brain furiously searches its memories for a solution? Yes? Well, what you saw on that panorama 3D screen in your head was your own experience; not Einstein's, not Isaac Newton's, not Archimedes'. Nor was it a manual of "A million and one solutions when on the brink". It was your past life's pickings. You might have benefited from a good wifi connection to the Internet, or even to the experience of Hannibal Barca, the Carthaginian general who led a mostly mercenary army across southern France, over the Alps in mid-winter and down into Italy, where he defeated and slaughtered several full consular armies of Rome. But no, it was your own. Ed |
#48
|
|||
|
|||
Changing a filetypes icon - adding a"shortcut" like mini-icon
"R.Wieser" wrote
| I looked around yesterday for a full list of shell icons but | didn't find it. | | I did the same thing (googeling in my case). Alas, with the same result. | For what it's worth, here's my list taken from old code. It includes most things anyone might care to change: '-- All puticon1 lines indicate the number used for the value name. The short strings indicate what icon it is puticon1 "harddrive", "8" puticon1 "floppy", "6" puticon1 "closedfol", "3" puticon1 "openfol", "4" puticon1 "cd", "11" puticon1 "removabledrive", "7" puticon1 "desktop", "34" '-- these are start menu icons. puticon1 "prog", "19" puticon1 "progroup", "36" puticon1 "docs", "20" puticon1 "fav", "43" puticon1 "set", "21" puticon1 "find", "22" puticon1 "help", "23" puticon1 "run", "24" puticon1 "log", "44" puticon1 "shut", "27" '-- These all set the default value of the following to icopath,0: '-- HKCU\Software\Classes\CLSID\{CLSID HERE}\DefaultIcon\ '-- HKCR\CLSID\{CLSID HERE}\DefaultIcon puticonclsid "control", "{21EC2020-3AEA-1069-A2DD-08002B30309D}" puticonclsid "printer", "{2227A280-3AEA-1069-A2DE-08002B30309D}" puticonclsid "mycomp", "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" puticonclsid "nethood", "{208D2C60-3AEA-1069-A2D7-08002B30309D}" puticonclsid "mydocs", "{450D8FBA-AD25-11D0-98A8-0800361B1103}" puticonclsid "briefcase", "{85BBD920-42A0-1069-A2E4-08002B30309D}" puticonclsid "schedtsk", "{D6277990-4C6A-11CF-8D87-00AA0060F5BF}" '-- Recycle: '-- HKCU\Software\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon '-- HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon Values: "Empty" "Full" Data: path-to-icon.ico,0 |
#49
|
|||
|
|||
Changing a filetypes icon - adding a"shortcut" like mini-icon
Mayayana,
For what it's worth, here's my list taken from old code. It includes most things anyone might care to change: Thanks. I've stored it for possible future use. Regards, Rudy Wieser |
#50
|
|||
|
|||
Changing a filetypes icon - adding a"shortcut" like mini-icon
On Sun, 1 Nov 2020 08:11:07 +0100, R.Wieser wrote:
JJ, Also do notice that there seem to be only 15 "slots" available (presumably ignoring the 16th-and-above IconOvelayHandler). The limit only applies to the number of effective shell extensions in the registry. But each can be proxied, chained, or hooked; to multiple shell extensions. Making the limit ineffective. |
#51
|
|||
|
|||
Changing a filetypes icon - adding a"shortcut" like mini-icon
JJ,
The limit only applies to the number of effective shell extensions in the registry. But each can be proxied, chained, or hooked; to multiple shell extensions. Making the limit ineffective. I currently cannot quite imagine how that happens ... But if I'm lucky its only a google away. (I just tried to find some different overlay icons. It turns out that there are rather few, and hard to find) Regards, Rudy Wieser |
Thread Tools | |
Display Modes | |
|
|