如图,一开始画窗口的时候界面是比较圆润的,但是编程之后就变的那么生硬,小弟刚接触mfc,不知道改了什么东西,请问怎么改回来?工具是vs2008mfcvs2008界面

解决方案 »

  1.   

    应该和主题无关吧……第一个截图是我之前做好框架但是没有任何功能的exe文件……另一个是现在编好的exe文件……在同一主题但是显示却不一样
      

  2.   

    将此manifests加入试试:<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> 
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
      <description>Windows Forms Common Control manifest</description> 
      <dependency>
        <dependentAssembly>
          <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*" /> 
        </dependentAssembly>
      </dependency>
    </assembly>
      

  3.   

    点击对话框,在右侧的面板有个border属性,看看是不是改为none了,如果是的话将其改为Dialog Frame
      

  4.   

    正解之一……虽然我自己发现了……不过还是谢谢你……原因是一开始的unicode编码后来我改成了字符集……还有一个办法是改头文件