Loading OEM Icon's into a Dialog Template
-
Is there any way to use the standard Windows OEM icons in a Dialog Template resource? I'm using VC++6.0. When I add an Icon to a dialog, the dialog editor wants a path name to .ico file. I'd want to use the built in IDI_EXCLAMATION here (it's an alert dialog), rather than supply my own .ico file. You can load this icon by doing ::LoadIcon(0, IDI_EXCLAMATION), but there doesn't seem to be anyway to do this with the resource editor.
-
Is there any way to use the standard Windows OEM icons in a Dialog Template resource? I'm using VC++6.0. When I add an Icon to a dialog, the dialog editor wants a path name to .ico file. I'd want to use the built in IDI_EXCLAMATION here (it's an alert dialog), rather than supply my own .ico file. You can load this icon by doing ::LoadIcon(0, IDI_EXCLAMATION), but there doesn't seem to be anyway to do this with the resource editor.
Why do you need that icon resource in the resource editor? Wherever it is that you are going to display that icon, just call
LoadIcon()
as you have indicated.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)