tietoo tosta?
yourapp.exe
gfgfgf
3323
0Äänestä
Muut lukivat myös
Ketjusta on poistettu 1 sääntöjenvastainen viesti.
Odottaa vastausta
Näihin keskusteluihin ei ole vielä vastattu. Ole ensimmäinen.
Turvaa tilisi vahvistamalla puhelinnumerosi. Voit silloin palauttaa unohtuneen salasanan tekstiviestillä.
Ketjusta on poistettu 1 sääntöjenvastainen viesti.
Näihin keskusteluihin ei ole vielä vastattu. Ole ensimmäinen.
Vastaukset 3
Vanhimmat
To create a manifest and enable your application to use visual styles.
1. Link to ComCtl32.lib and call InitCommonControls (see the Platform SDK documentation in the MSDN Library).
2. Add a file called YourApp.exe.manifest to your source tree that has the following XML format:
Your application description here.
3. Add the manifest to your application's resource file as follows:
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "YourApp.exe.manifest"
Note When you add the previous entry to the resource you must format it on one line. Alternatively, you can place the XML manifest file in the same directory as your application's executable file. The operating system will load the manifest from the file system first, and then check the resource section of the executable. The file system version takes precedence.
Using ComCtl32 Version 6 in an Application That Uses Extensions, Plugins, or a DLL That is Brought into a Process
The following are examples of applications that use extensions.
* Microsoft Management Console (Mmc.exe)
* Windows Shell
* Microsoft® Visual Studio®
To create a manifest and enable your application to use visual styles.
1. Use the Windows XP Beta 2 SDK or later.
2. Include the common controls header file as follows:
#include "commctrl.h"
3. Define a compiler variable preprocessor definition as follows:
#define SIDEBYSIDE_COMMONCONTROLS 1
Add a file called YourApp.manifest to your source tree that has the following XML format:
Your application description here.
4. Add the manifest to your application's resource file as follows:
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "YourApp.manifest"
Winuser.rh includes the following defines:
#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
#define CONTROL_PANEL_RESOURCE_ID 123
#define RT_MANIFEST 24
Edellinen vastaaja varmaan vahingossa unohti laittaa linkin, mistä tuo ohje on peräisin:
http://msdn.microsoft.com/library/en-us/dnwxp/html/xptheming.asp
se linkki jäi pois!!!