You may notice that although the button outlines in WinAsm Resource editor have rounded corners in the XP style, the compiled executable displays the old style square cornered buttons. In order to use the new XP Visual Style with the common controls you must use a manifest file. This is a standard xml (extensible markup language) file which needs to be edited only to include the name of your app. The name of the xml file itself can be anything. It should be placed in the same folder as the source files and is specified by a single line in the resource script.
The manifest can be added to the project by clicking the Resources tab in the project explorer bar, clicking Resources then Add, and adding the manifest file. A resource name is not necessary but the ID for the manifest must always be 1 or it will not work:
This adds the following line to the resource script just below the icon line (which could be done manually):
1 24 DISCARDABLE "dialogbox2.xml"
Finally save dialogbox2.rc again and it should match the version in the sourcecode section.
Note the rounded buttons with the bluish outline. The manifest file is also included in the sourcecodes section. Just for reference the contents are as follows: