That's not very simple since CDialogs weren't made to host a view control (you're supposed to make an SDI or MDI application for that functionality), but others have done it.
Here's an article (I'm sure you can find more by searching):
Inserting a Doc/Frame/View in a dialog using a custom control[
^]
...There was also one on how to convert a dialog application to SDI, but I can't seem to find it...