How to display xp style button and check box.
-
Hello, there, I am using Windows xp and in the diaplay properties-> Appearance. I selected "Windows xp style windows and button". I think in the dialog box, the buttons and check box should be in the xp style. But when I use a VC6 to create a dialog box, the buttons and check box inside are still in the classic style. What should I do to make them xp style. Should I change project setting? Please tell me how to do it. BTW, I tried to compile the code that I downloaded from Internet, the buttons are in XP style. Thanks a lot. Bin
-
Hello, there, I am using Windows xp and in the diaplay properties-> Appearance. I selected "Windows xp style windows and button". I think in the dialog box, the buttons and check box should be in the xp style. But when I use a VC6 to create a dialog box, the buttons and check box inside are still in the classic style. What should I do to make them xp style. Should I change project setting? Please tell me how to do it. BTW, I tried to compile the code that I downloaded from Internet, the buttons are in XP style. Thanks a lot. Bin
There are some articles on this subject at codeproject, if the following does not provide enough information, try searching for XP manifest. Basicaly you need a manifest file or resource, you can find a manifest file at microsoft. A manifest file contains XML code that informs XP to use XP syle buttons, ect., in your app. You would install the file with a name like MyApp.exe.manifest, in the same directory that you store you application (name MyApp.exe). Or you can add the manifest as a resource to you application its' self. To do that you first create a manifest file then add a new resourse type 24 in the resource pane and then import the manifest file as a resourse and give it an ID of 1. This is what is contained in the manifest file, you can copy the following and paste it into your new manifest file: Your application description here. INTP
-
There are some articles on this subject at codeproject, if the following does not provide enough information, try searching for XP manifest. Basicaly you need a manifest file or resource, you can find a manifest file at microsoft. A manifest file contains XML code that informs XP to use XP syle buttons, ect., in your app. You would install the file with a name like MyApp.exe.manifest, in the same directory that you store you application (name MyApp.exe). Or you can add the manifest as a resource to you application its' self. To do that you first create a manifest file then add a new resourse type 24 in the resource pane and then import the manifest file as a resourse and give it an ID of 1. This is what is contained in the manifest file, you can copy the following and paste it into your new manifest file: Your application description here. INTP