Déterminer le nom des icônes contenues dans "shell32.dll".
Salut!:D
Pour obtenir une icône pour une fenêtre:
Code:
1 2 3 4 5 6 7
| HMODULE hDll=LoadLibrary("C:\\WINDOWS\\System32\\shell32.dll");
if(hDll==NULL)cout<<"ERROR hDll : "<<GetLastError()<<endl;
HMODULE hDllIcon=GetModuleHandle("shell32.dll");
if(hDllIcon==NULL)cout<<"ERROR hDllIcon : "<<GetLastError()<<endl;
wc.hIcon=LoadImage(hDllIcon, |
mais "LoadImage" a besoin en 2ème paramètre du nom de l'icône à charger.
Comment l'obtenir?
Sinon comment charger une icône sans connaître son nom?
Faut il vraiment effectuer tout ce processus pour charger une icône?
Merci.:D