Thanks for your help. That's what I'm doing now and looks good.

I've also found some articles in CodeGuru on the subject:

http://www.codeguru.com/dialog/Viewi...esources.shtml

or even more useful for my problem:

http://www.codeguru.com/dialog/Child...nADialog.shtml

Thanks again,
Oliver.