개발/VC++/XP테마스타일



  1. Insert Resource, choose "Custom", input "24" (without quotes) as resource type

  2. Copy and paste the following XML sheets into the editor.

          <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
          <assembly 
             xmlns="urn:schemas-microsoft-com:asm.v1" 
             manifestVersion="1.0">
           <assemblyIdentity 
              processorArchitecture="x86" 
              version="5.1.0.0"
              type="win32"
              name="test.exe"/>
           <description>Test Application</description>
           <dependency>
            <dependentAssembly>
              <assemblyIdentity
                   type="win32"
                   name="Microsoft.Windows.Common-Controls"
                   version="6.0.0.0"
                   publicKeyToken="6595b64144ccf1df"
                   language="*"
                   processorArchitecture="x86"/>
            </dependentAssembly>
           </dependency>
          </assembly>
    
    You can replace test.exe and Test Application with any string you like. This will not affect the behaviour of the application.

  3. Change resource ID to 1.

  4. Add calls to InitCommonControls() in your WinMain(). Don't forget to include commctrl.h and link comctl32.lib. Rebuild your project, all done :-)

This special resource type is only recognized by Windows XP. In any other version of Windows (Windows 9x/NT/2000), the program simply runs as before.

You can also create a manifest file with the same name of the EXE file, plus an extension .manifest, which contains the same lines as the ones above. For our test.exe, the manifest file is test.exe.manifest.
ID
Password
Join





- 전 이런 놈입니다.

격언> 인생은 단순하다. 단지 사람이 그것을 복잡하게 만들 뿐이다. (공자)

Recent Changes

D  Echoes Of War(The... @ 2012-05-18 [03:44 pm] by windlesszone
D  Diablo3 @ 2012-05-15 [04:49 pm] by windlesszone
D  Diablo3/story/wizard @ 2012-05-15 [04:48 pm] by windlesszone 4 changes
D  Diablo3/story/wit... @ 2012-05-15 [04:16 pm] by windlesszone
D  Diablo3/story/monk @ 2012-05-15 [04:14 pm] by windlesszone





Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2006-07-04 11:36:15
Processing time 0.0542 sec