Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Help with CChildView

Help with CChildView

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++architecturehelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Robert Buldoc
    wrote on last edited by
    #1

    Hi, Firstly, I am new to MFC so any help appreciated. I am building a single document MFC application without Doc/View Architecture support. In my application I want to be able to show different CView subclasses such as CListView, CFormView instead of the CChildView. I need to change to different views by click of a button Tool bar. So how can I achieve this? I have looked on the forums and articles on this site and have found nothing on the subject. I appreciate any kind of help you can offer. :) Robert Buldoc

    S 1 Reply Last reply
    0
    • R Robert Buldoc

      Hi, Firstly, I am new to MFC so any help appreciated. I am building a single document MFC application without Doc/View Architecture support. In my application I want to be able to show different CView subclasses such as CListView, CFormView instead of the CChildView. I need to change to different views by click of a button Tool bar. So how can I achieve this? I have looked on the forums and articles on this site and have found nothing on the subject. I appreciate any kind of help you can offer. :) Robert Buldoc

      S Offline
      S Offline
      Sujan Christo
      wrote on last edited by
      #2

      Hi, i do think that you must have to write a mdi application. Only mdi application can handle different types of view automatically. have a look @ Multiple Document Types, Views, and Frame Windows @ msdn Sujan

      R 1 Reply Last reply
      0
      • S Sujan Christo

        Hi, i do think that you must have to write a mdi application. Only mdi application can handle different types of view automatically. have a look @ Multiple Document Types, Views, and Frame Windows @ msdn Sujan

        R Offline
        R Offline
        Robert Buldoc
        wrote on last edited by
        #3

        Thanks for the reply, I am thinking of getting the CWnd rect and using it as a place holder for other forms.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups