Dear Ed,
I am trying to find a solution for the following problem.
I want to create a modal dialog whose parent is formview. However, I do not
want the dialog to be modal for the complete application, but only modal
for the parent formview. I want to be able to work on any other views
in my application.
As I read you have been working on modal form views, I was hoping you
might know the answer.
Thanks
Bart
Bart, it seems to me, and I could be wrong, that what you're saying is that you
don't want the formview to get the focus while you have a dialog on top of it.
One solution may to be simply intercept the WM_SETFOCUS messages of the
formview and call SetFocus() to give the focus to the dialog, if it exists.
This will essentially prevent the form from getting focus while the dialog is
on top of it.
Chris