tags:

views:

96

answers:

2

Where, in Windows, is this Yellow-Blue Windows Security Icon icon stored? I need to use it in a TaskDialog emulation for XP and am having a hard time tracking it down.

It's not in shell32.dll, explorer.exe, ieframe.dll or wmploc.dll (as these contain a lot of icons commonly used in Windows).

Edit: For clarification, I am emulating a certain type of dialog in XP. The icon is (most likely) not present there. So I want to extract it from the library that holds it in Windows 7. I am extending an existing implementation of this emulation and want to provide a full feature set.

A: 

You are asking the wrong question. It doesn't matter where this icon is stored on any version of windows. If Microsoft don't tell you then you should not use it - it might not be there in windows 8 (or whatever comes after 7).

If you want the icon so bad, there is a decent graphical representation of it above in this question. You could do alt-prt scrn then use your favourite graphics app to turn it into an icon and add it to your app. This may not be legal though (remember, IANAL)

Stewart
As I said in my question, I am trying to emulate TaskDialogs (which use this icon) in a Windows version that has neither. The image in my original post is, in fact, a screenshot. So it has no alpha channel (which I require to emulate the feature). Post-XP, I use the official API, so I don't really care how the icon looks in future versions.
gencha
+2  A: 

The shield icon is located in the file C:\Windows\System32\imageres.dll (at least, in my copy of English 32-bit Windows 7). There are several versions of the shield icon there, including the blue and yellow version you have above (icon 78).

Michael Petrotta
Thank you very much
gencha