Not really. If you use DialogBoyParam() you don't have a messageloop which is neccessary for processing accelarators. Use instead CreateDialog. Then you have to program your own messageloop with which you can process your accelarators.
If you are looking for examples, take a look at my page:
www.luckie-online.de . Almost every program uses CreateDialog.