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. Updating window data from other window

Updating window data from other window

Scheduled Pinned Locked Moved C / C++ / MFC
questionannouncement
3 Posts 3 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.
  • K Offline
    K Offline
    kiranin
    wrote on last edited by
    #1

    I have an SDI application, Which i split into 3 views(forms), based on selection of options in one form, want update the data in the other forms? Any suggestions??

    F T 2 Replies Last reply
    0
    • K kiranin

      I have an SDI application, Which i split into 3 views(forms), based on selection of options in one form, want update the data in the other forms? Any suggestions??

      F Offline
      F Offline
      Franck Paquier
      wrote on last edited by
      #2

      good morning. if you use the mfc doc/view architecture pattern. the update of the views comes from the document by calling UpdateAllViews(). what you should do is: when a form is changed / updated by the user it needs to inform the document about the changes that can then decide of the view updates. hope this will help. Franck.

      1 Reply Last reply
      0
      • K kiranin

        I have an SDI application, Which i split into 3 views(forms), based on selection of options in one form, want update the data in the other forms? Any suggestions??

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        kiranin wrote:

        I have an SDI application, Which i split into 3 views(forms), based on selection of options in one form, want update the data in the other forms?

        Is it Dialog Frame.. you can use SetDlgItemText api to do so!

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
        Never mind - my own stupidity is the source of every "problem" - Mixture

        cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You/xml>

        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