Extract a program's own icon?
Posted: Tue Feb 03, 2009 10:09 pm
I'm sure this has been asked and answered before, but due to vague keywords I'm having trouble searching for it.
If I compile an exe with a main icon (to appear in window's titlebar, as its explorer icon, etc) how can I extract this at runtime to also use as a tray icon?
It seems redundant to have an internal copy of the icon compiled inside, plus an external file just to be loaded for the system tray.
Suggestions?
If I compile an exe with a main icon (to appear in window's titlebar, as its explorer icon, etc) how can I extract this at runtime to also use as a tray icon?
It seems redundant to have an internal copy of the icon compiled inside, plus an external file just to be loaded for the system tray.
Suggestions?