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. Managing views.

Managing views.

Scheduled Pinned Locked Moved C / C++ / MFC
databasequestionannouncement
2 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.
  • D Offline
    D Offline
    Demian Panello
    wrote on last edited by
    #1

    Hi. I have started a MDI project. I have a view derived from CFormView. In that form there are a few textbox and buttons. I want to call another view, (derived from CFormView), when the user press a button. In fact, there is a button "Next" and a button "Previous", when the user press "Next" I want to show other form, and so on. How can I do that?. How can I managed multiples views, (derived from CFormView, CScrollView, etc), so I can show it, (or hide it), from differents events?. In all these views the user fills some fields to finally update or query a SQL Database, but I dont have problems with that. Thank you and regards from Argentina. Demian.

    T 1 Reply Last reply
    0
    • D Demian Panello

      Hi. I have started a MDI project. I have a view derived from CFormView. In that form there are a few textbox and buttons. I want to call another view, (derived from CFormView), when the user press a button. In fact, there is a button "Next" and a button "Previous", when the user press "Next" I want to show other form, and so on. How can I do that?. How can I managed multiples views, (derived from CFormView, CScrollView, etc), so I can show it, (or hide it), from differents events?. In all these views the user fills some fields to finally update or query a SQL Database, but I dont have problems with that. Thank you and regards from Argentina. Demian.

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      The classic article on view swapping is here: http://www.microsoft.com/msj/archive/SFFD.aspx[^] Tomasz Sowinski -- http://www.shooltz.com

      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