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. how to place CFromview on CDialog? [modified]

how to place CFromview on CDialog? [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 Posts 4 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.
  • J Offline
    J Offline
    jinlsg
    wrote on last edited by
    #1

    could i place a CFromView class on a CDialog class int a dialog-based app? how to place CFromview on CDialog? I mean: I have a dialog template with CFromView class ,could I doModal this dialog?

    modified on Sunday, November 8, 2009 7:40 PM

    A D B 3 Replies Last reply
    0
    • J jinlsg

      could i place a CFromView class on a CDialog class int a dialog-based app? how to place CFromview on CDialog? I mean: I have a dialog template with CFromView class ,could I doModal this dialog?

      modified on Sunday, November 8, 2009 7:40 PM

      A Offline
      A Offline
      Adam Roderick J
      wrote on last edited by
      #2

      Do you mean CFormView?

      Величие не Бога может быть недооценена.

      1 Reply Last reply
      0
      • J jinlsg

        could i place a CFromView class on a CDialog class int a dialog-based app? how to place CFromview on CDialog? I mean: I have a dialog template with CFromView class ,could I doModal this dialog?

        modified on Sunday, November 8, 2009 7:40 PM

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        Why would you even want to? :confused: Just add the controls you need to the dialog template.

        "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        1 Reply Last reply
        0
        • J jinlsg

          could i place a CFromView class on a CDialog class int a dialog-based app? how to place CFromview on CDialog? I mean: I have a dialog template with CFromView class ,could I doModal this dialog?

          modified on Sunday, November 8, 2009 7:40 PM

          B Offline
          B Offline
          baerten
          wrote on last edited by
          #4

          Hi, you can add a TabWnd to the Dialog. Then you can add a CFormView to this TabWnd. When you move/resize the TabWnd, you can "hide" the TabWnd and you only see the active CFormView. Naturally you can switch the View into the TabWnd with another View... I hope this helps you Greetings

          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