How do I make my application use the Windows theme?

后端 未结 5 1521
隐瞒了意图╮
隐瞒了意图╮ 2021-02-06 15:56

I\'m working with some windows API to create a little application. I already created the buttons, windows, alright.

But the problem is the components I created don\'t lo

5条回答
  •  悲&欢浪女
    2021-02-06 16:48

    If your executable name is YourAppName.exe then, create a manifest file named YourAppName.exe.manifest in the same directory where the executable application is.

    YourAppName.exe.manifest:

    
    
    
    MyApp
    
        
            
        
    
    

    For embedding manifest file into executable use mt.exe commandline syntax:

    mt.exe –manifest YourAppName.exe.manifest -outputresource:YourAppName.exe;1

提交回复
热议问题