>how can i make a button the default so if the user push
the enter button it is handled?
Presumably you want to do this programmatically rather than just
change the button style property in the dialog editor? If that's what
you need, have a look at Knowledge Base article 67655 "HOWTO: Change
or Set the Default Push Button in a Dialog Box".
Dave
--
MVP VC++ FAQ:
http://www.mvps.org/vcfaq