Hank,
The dialog is by default created as a child of the application's
main window. You could either specify the view as the parent of
the dialog when you create it or you could use
GetParent()->m_hWnd->GetActiveView() to obtain the view pointer
again so that you can use it as the parent of your new child
window.
Tom Jebo
Microsoft Developer Support