how is icon info stored?

D

Dave Cullen

We can change the icon for an application from the properties of the
main form. How does Windows allow changing the icon afterward? Is the
icon info stored somewhere in the exe that Windows modifies?
 
H

Herfried K. Wagner [MVP]

Dave Cullen said:
We can change the icon for an application from the properties of the
main form. How does Windows allow changing the icon afterward? Is the
icon info stored somewhere in the exe that Windows modifies?

The application's icon is stored as a Win32 resource inside the executable
file and cannot be changed at runtime.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top