Quote:
I tried to find a class or an object that I an use.
I didn't found it.
You didn't found because it don't work like that.
The icon of an app is an external resource (a file) that is just linked as you build the app.
The icon is in a .ico file. There is plenty of icon editors available.
It is declared in the resource file .rc. Details vary with compilers.
The icon can also be added after the app is build with the help of resource editors.