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. Changing values in dialog boxes

Changing values in dialog boxes

Scheduled Pinned Locked Moved C / C++ / MFC
5 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.
  • A Offline
    A Offline
    AnithaSubramani
    wrote on last edited by
    #1

    Hi all, In my main dialog we have a menu, in this menu we have some options as per the option selected we want the values to be changed in all the other 3 dialog boxes that we have in the application.We have actually created all the 3 dialogs in the main dialog using create hence the value is not getting loaded in the other windows..Plz anyone help me Kind regards anitha

    R D 2 Replies Last reply
    0
    • A AnithaSubramani

      Hi all, In my main dialog we have a menu, in this menu we have some options as per the option selected we want the values to be changed in all the other 3 dialog boxes that we have in the application.We have actually created all the 3 dialogs in the main dialog using create hence the value is not getting loaded in the other windows..Plz anyone help me Kind regards anitha

      R Offline
      R Offline
      Roger Stoltz
      wrote on last edited by
      #2

      AnithaSubramani wrote:

      we want the values to be changed in all the other 3 dialog boxes

      Use the observer pattern[^] or send a user defined message to the other dialog boxes to inform them that the value should be updated.

      "It's supposed to be hard, otherwise anybody could do it!" - selfquote
      "High speed never compensates for wrong direction!" - unknown

      1 Reply Last reply
      0
      • A AnithaSubramani

        Hi all, In my main dialog we have a menu, in this menu we have some options as per the option selected we want the values to be changed in all the other 3 dialog boxes that we have in the application.We have actually created all the 3 dialogs in the main dialog using create hence the value is not getting loaded in the other windows..Plz anyone help me Kind regards anitha

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

        AnithaSubramani wrote:

        We have actually created all the 3 dialogs...

        Are they modal or modeless?

        "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

        A 1 Reply Last reply
        0
        • D David Crow

          AnithaSubramani wrote:

          We have actually created all the 3 dialogs...

          Are they modal or modeless?

          "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

          A Offline
          A Offline
          AnithaSubramani
          wrote on last edited by
          #4

          They are modelless dialog boxes.

          D 1 Reply Last reply
          0
          • A AnithaSubramani

            They are modelless dialog boxes.

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

            Have you tried posting a message to the other dialogs that need updating?

            "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
            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