Andries,
>I would like to set a default button within a messagebos. Within the
delphi help example this is possible, but searchin within the dialogs unit,
the messagedlg is not overloaded, and the last paarmeter would not be
allowed.
>
The Windows API has a MessageBox function that gives you complete control
over the default button, as well as a number of other things not available
in
MessageDlg.
The Windows API can be more difficult to approach than Delphi, but you can
manage the complexity by simply writing your own procedures and functions
that "wrap" the Windows API functions but give you the functionality you
need.
After all, a great deal of the built-in Delphi functionality is itself just
a wrapper
around the Windows API.
If you need help, a good list for this is:
http://tech.groups.yahoo.com/group/APIwithDelphi/
This list deals with getting the most out of the Windows API using Delphi.
Glenn Lawler
www.incodesystems.com
.