PDA

View Full Version : سوال درباره Windows XP Visual Styles



امیر164
پنج شنبه 08 بهمن 1383, 17:34 عصر
سلام . من میخوام تو برنامم از XP Style استفاده کنم . توی MSDN اینو پیدا کردم :


Link to ComCtl32.lib and call InitCommonControls.
Add a file called YourApp.exe.manifest to your source tree that has the XML manifest format.


Add the manifest to your application's resource file as follows:
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "YourApp.exe.manifest"


InitCommonControls رو تو قسمت OnInitDialog() کال میکنم. فایل manifest رو هم تو دایرکتوری که فایل exe هست میزارم ولی نمیدونم CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "YourApp.exe.manifest رو کجا بنویسم .
ممنون . :sorry:

Inprise
پنج شنبه 08 بهمن 1383, 23:43 عصر
YourApp.rc
Add that there
Compile it
you get YourApp.res
Link
Deploy
thats it