How to create a CFormview in dialog based application?

Dear all,
Is there any method to create a CFormview in a dialog based application? Actually, my application will require a button bar at the top position and click it and change the display in the middle of the dialog. Is there any good method to achieve it? Thank!
[275 byte] By [paulswchan] at [2007-11-18 1:39:58]
# 1 Re: How to create a CFormview in dialog based application?
You might want to read this article. ( http://www.dev-archive.com/dialog/vwindlg.html)

It talks about placing a view in a dialog and my give you some ideas. You should also peruse the dialog article section as some of the features you described have been illustrated there.
bytz at 2007-11-10 8:54:06 >
# 2 Re: How to create a CFormview in dialog based application?
Instead of putting a form view in a dialog, just use a form view.

If you can specify what it is about a form view that you need then perhaps there is an easier solution. Many times people try to solve a problem but need help with a problem with the solution.

In this case you do tell us that you want buttons that change views. So in other words that is the real problem. You try to solve it by using a form view and ask how to use a form view in a dialog. It might be possible to use a form view in a dialog but it is too much work. It would be easier to just switch to a form view.

If you want buttons that change views then probably what you should do is to use a tab control in your dialog. You can use dialog templates as children that are shown based on the buttons in the tab control.
Sam Hobbs at 2007-11-10 8:55:06 >