Use Windows XP-style dialog box ̣
1. Insert the resource, select "Custom", and enter "24" as the inner shape of the resource.
2, copy the following XML script to the resource editor.
XML Version = "1.0" encoding = "UTF-8" Standalone = "yes"?>
You can replace "Test.exe" and "Test Application" in the script to the name you want, which has no impact on the program.
3, set the resource ID to 1
4. Add the initcommonControls () statement in WinMain () (if you use the MFC, please add it in Capplication :: InitInstance (),
Don't forget to include the header file command.h "
5, set up the project, in the link option, in the Object / Library Modules edit box, fill in "ComctL32.Lib"
6. This is your program already has a beautiful Windows XP dialog.