3D外观的缺失 [英] Disapperance of 3D look

查看:64
本文介绍了3D外观的缺失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家...
我在vs2010中使用c ++创建了一个dll应用程序,当我更改属性即常规"->字符集"->使用多字节字符集"时.使用该dll的基于对话框的应用程序的3Dlook消失了. 我尝试了使用相同属性的简单应用程序,但它保留了3D外观..
请同样帮助我,即如何使用通用属性设置为使用多字节字符集来保持对话框的3D外观...
预先谢谢您.

hiii everyone...
I have created a dll application in vs2010 using c++, when i change the property viz General->character set ->using multibyte character set.. the 3Dlook of the dialog based application using the dll disappears..
I have tried simple application which uses same properties but it retains the 3D look..
Please helpmefor the same ie how do i maintain 3d apperance of my dialog with general property set to using multibyte character set...
Thank you in advance

推荐答案

在stdafx.h的底部,有一些向导生成的行.他们开始于:

#ifdef _UNICODE
#endif

使控件变为"3D"的行:

At the bottom of stdafx.h, there are some wizzard generated lines. They begin with:

#ifdef _UNICODE
#endif

The line that make the controls "3D":

#pragma comment(linker,"/manifestdependency:\"type=''win32'' name=''Microsoft.Windows.Common-Controls'' version=''6.0.0.0'' processorArchitecture=''x86'' publicKeyToken=''6595b64144ccf1df'' language=''*''\"")



它们包含Windows常用控件清单.
删除第一个ifdef(unicode)和最后一个endif.

通用控件可以使unicode和multibyte正常工作(至少我从来没有遇到过问题).

希望对您有所帮助.



They contain Windows common controls manifiest.
Remove the first ifdef (unicode) and the last endif.

The common controls manifiest work ok for both unicode and multibyte (at least I had never had a problem).

Hope it helps.


这篇关于3D外观的缺失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆