bitmap transparency in Visual Studio 2013 C++

前端 未结 2 1757
天涯浪人
天涯浪人 2020-12-06 16:09

I\'m puzzled on this one. I use a program recommended on the forums to convert 32bit PNG to 32bit bitmaps with alpha channel. I add these to the resource editor and place

2条回答
  •  借酒劲吻你
    2020-12-06 16:18

    Building on @Zett42's answer, a simple pragma can also direct the compiler to use the 6 0 0 0 controls rather than using the manifest file.

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

提交回复
热议问题