How to enable visual styles without a manifest

前端 未结 3 1150
青春惊慌失措
青春惊慌失措 2020-12-01 13:29

According to the docs:

\"If you want your application to use ComCtl32.dll version 6, you must add an application manifest or compiler directive

3条回答
  •  无人及你
    2020-12-01 13:36

    If you're using Visual Studio, you can add this line to your stdafx.cpp for example:

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

提交回复
热议问题