Click to See Complete Forum and Search --> : FormView


Kajko
May 8th, 1999, 10:27 AM
In SDI app I create a splitter like this:

if (!m_wndSplitter.CreateStatic(this, 1, 2)) return FALSE;

if (!m_wndSplitter.CreateView(0, 0, RUNTIME_CLASS(CTreeView), CSize(100, 100), pContext) ||
!m_wndSplitter.CreateView(0, 1, RUNTIME_CLASS(CView), CSize(100, 100), pContext))
{
....

I want CFormView insted of CView, any idea ?

May 8th, 1999, 12:53 PM
It should be as simple as replacing RUNTIME_CLASS(CView) with RUNTIME_CLASS(CFormView)

Kajko
May 8th, 1999, 03:43 PM
Did you tried before posting that reply ?
It is not that simple...

Mark Messer
May 12th, 1999, 06:38 PM
That is about what I did. It worked for me.

Kajko
May 13th, 1999, 03:49 AM
Sorry, for trouble...
I had to reinstall VC++ and now work at my place too.
Sorry again...