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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CFormView

CFormView

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
3 Posts 3 Posters 2 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.
  • B Offline
    B Offline
    bluehai
    wrote on last edited by
    #1

    Hello ! I had a project with CMyFormView. I added new form named CDocExample with base class CFormView, how can i switch to CMyFormView to CDocExample ? Please help me. Thanks.

    A 1 Reply Last reply
    0
    • B bluehai

      Hello ! I had a project with CMyFormView. I added new form named CDocExample with base class CFormView, how can i switch to CMyFormView to CDocExample ? Please help me. Thanks.

      A Offline
      A Offline
      Antony M Kancidrowski
      wrote on last edited by
      #2

      Assuming that CMyFormView is derived from CFormView. You ought to be able to replace all instances of the text "CFormView" within CDocExample with "CMyFormView". Ant. I'm hard, yet soft.
      I'm coloured, yet clear.
      I'm fruity and sweet.
      I'm jelly, what am I? Muse on it further, I shall return!
      - David Walliams (Little Britain)

      S 1 Reply Last reply
      0
      • A Antony M Kancidrowski

        Assuming that CMyFormView is derived from CFormView. You ought to be able to replace all instances of the text "CFormView" within CDocExample with "CMyFormView". Ant. I'm hard, yet soft.
        I'm coloured, yet clear.
        I'm fruity and sweet.
        I'm jelly, what am I? Muse on it further, I shall return!
        - David Walliams (Little Britain)

        S Offline
        S Offline
        Steve S
        wrote on last edited by
        #3

        May not be a good assumption :) Perhaps the original question meant "I want to switch views at run-time". If this is the case then Q99562 in the VC++ knowledge base might help. Steve S Developer for hire just think how much CP bandwidth would be saved if everyone searched the MSDN library first. But then, how would the rest of us feel so smug?

        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