CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: FormView

  1. #1
    Join Date
    May 1999
    Location
    Serbia, YUgoslavia
    Posts
    9

    FormView

    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 ?


  2. #2
    Guest

    Re: FormView

    It should be as simple as replacing RUNTIME_CLASS(CView) with RUNTIME_CLASS(CFormView)


  3. #3
    Join Date
    May 1999
    Location
    Serbia, YUgoslavia
    Posts
    9

    Re: FormView

    Did you tried before posting that reply ?
    It is not that simple...


  4. #4
    Join Date
    May 1999
    Posts
    19

    Re: FormView

    That is about what I did. It worked for me.


  5. #5
    Join Date
    May 1999
    Location
    Serbia, YUgoslavia
    Posts
    9

    Re: FormView - solution

    Sorry, for trouble...
    I had to reinstall VC++ and now work at my place too.
    Sorry again...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured