Je pense que pour avoir le style XP :
Il te faut trois fichiers :
1) manifest.xml
il contient :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="Nom de ton application ici" type="win32" /> <description>ça déscription je croi</description> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" /> </dependentAssembly> </dependency> </assembly>
2) manifest.h
il contient :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 #ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID #define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 #endif #ifndef RT_MANIFEST #define RT_MANIFEST 24 #endif
3) manifest.rc
il contient :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 #include "manifest.h" CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "manifest.xml"
============================================
Aprés ,tu pose ces trois fichiers dans le même répèrtoire que ton projet,et tu fait Projet->Ajouter au projet , et tu selectionne ton manifest.rc !
Voila la recette ! a+
Partager