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

Thread: Multiple Views?

  1. #1
    Join Date
    May 1999
    Posts
    26

    Multiple Views?

    I have a dialog based application, that requires 2 views being displayed at the same time. I have achieved this, however only 1 of the views seems to be attached to the document class. This poses the following problem: I need to be able to access all menu items (in mainmenu bar) when the I click in either view. I don't know how to attach the 2nd view to the document class (I assume this is the problem). Can this be done? How?

    Thanks in advance,
    Roberto Tedesco


  2. #2
    Join Date
    Apr 1999
    Posts
    383

    Re: Multiple Views?

    Use the CDocument AddView method:

    CDocument::AddView(CView* pView)

    Dave


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