<resources>
<resource name="dlgInfo" type="dialog">
<dialog fontsize="8" height="101" lang="english" resize="yes" title="Directory Opus" width="338">
<control halign="left" height="8" name="static" title="Topic" type="static" valign="top" width="280" x="30" y="10" />
<control halign="left" height="49" name="static2" title="Notes" type="static" valign="top" width="280" x="30" y="22" />
<control halign="center" height="14" image="yes" name="static3" title="Icon" type="static" valign="top" width="14" x="8" y="7" />
<control close="3" height="14" name="btn4" resize="xy" title="&4" type="button" width="50" x="116" y="80" />
<control close="2" default="yes" height="14" name="btnYes" resize="xy" title="&Yes" type="button" width="50" x="170" y="80" />
<control close="1" height="14" name="btnNo" resize="xy" title="&No" type="button" width="50" x="224" y="80" />
<control close="0" height="14" name="btnCancel" resize="xy" title="&Cancel" type="button" width="50" x="278" y="80" />
</dialog>
</resource>
</resources>
If I put this line before other button text.
<control close="2" default="yes" height="14" name="btnYes" resize="xy" title="&Yes" type="button" width="50" x="170" y="80" />
This button becomes the default button:
<resources>
<resource name="dlgInfo" type="dialog">
<dialog fontsize="8" height="101" lang="english" resize="yes" title="Directory Opus" width="338">
<control halign="left" height="8" name="static" title="Topic" type="static" valign="top" width="280" x="30" y="10" />
<control halign="left" height="49" name="static2" title="Notes" type="static" valign="top" width="280" x="30" y="22" />
<control halign="center" height="14" image="yes" name="static3" title="Icon" type="static" valign="top" width="14" x="8" y="7" />
<control close="2" default="yes" height="14" name="btnYes" resize="xy" title="&Yes" type="button" width="50" x="170" y="80" />
<control close="3" height="14" name="btn4" resize="xy" title="&4" type="button" width="50" x="116" y="80" />
<control close="1" height="14" name="btnNo" resize="xy" title="&No" type="button" width="50" x="224" y="80" />
<control close="0" height="14" name="btnCancel" resize="xy" title="&Cancel" type="button" width="50" x="278" y="80" />
</dialog>
</resource>
</resources>
It's no big deal, just reporting.