VS2012 編譯出來的對話框軟體,使用
#ifndef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif
但是,我在WIN10上運行的風格,和在WIN7的風格,不一樣,我要在WIN7上也顯示WIN10上的風格,怎么操作。
uj5u.com熱心網友回復:
用MFC做出的UI默認就是和系統相關的,都是使用系統的資源顯示,很難做到顯示和系統無關,用些第三方的UI庫自己貼圖能實作,也簡單uj5u.com熱心網友回復:
要顯示一致就要自己繪制UI,用一些ui庫uj5u.com熱心網友回復:
使用系統風格界面:https://www.cnblogs.com/pkill/archive/2010/07/09/1774527.html
暫時還沒有試過,晚點試一下。
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/15208.html
標籤:界面
上一篇:非線性,腦影像
