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. Passing a string

Passing a string

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
6 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.
  • B Offline
    B Offline
    brucewayn
    wrote on last edited by
    #1

    I have string data for a dialog. However when i click on the a button i want this string data to be displayed on the second dialog. Please let me know how to achieve this... Thanks in advance

    C E 2 Replies Last reply
    0
    • B brucewayn

      I have string data for a dialog. However when i click on the a button i want this string data to be displayed on the second dialog. Please let me know how to achieve this... Thanks in advance

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      Check this article[^]

      Cédric Moonen Software developer
      Charting control [v1.5] OpenGL game tutorial in C++

      C 1 Reply Last reply
      0
      • B brucewayn

        I have string data for a dialog. However when i click on the a button i want this string data to be displayed on the second dialog. Please let me know how to achieve this... Thanks in advance

        E Offline
        E Offline
        eraccn
        wrote on last edited by
        #3

        Can u get the second dialog's handle,if so u can use postmessage()

        Later buggers harm more.

        1 Reply Last reply
        0
        • C Cedric Moonen

          Check this article[^]

          Cédric Moonen Software developer
          Charting control [v1.5] OpenGL game tutorial in C++

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          I think the link to that tox's article should be permanently added to the forum page. :-D

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          C 1 Reply Last reply
          0
          • C CPallini

            I think the link to that tox's article should be permanently added to the forum page. :-D

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
            [My articles]

            C Offline
            C Offline
            Cedric Moonen
            wrote on last edited by
            #5

            Yep, it's a shame it is so under-rated...

            Cédric Moonen Software developer
            Charting control [v1.5] OpenGL game tutorial in C++

            C 1 Reply Last reply
            0
            • C Cedric Moonen

              Yep, it's a shame it is so under-rated...

              Cédric Moonen Software developer
              Charting control [v1.5] OpenGL game tutorial in C++

              C Offline
              C Offline
              CPallini
              wrote on last edited by
              #6

              Yes. I think the article for beginners are the most valuable here at CP. Unfortunately, such articles are often downvoted by the 'very-smart-super-expert' people who enjoys themselves just with the 'most-advanced-innovative-stuff' (not to mention the 'trollistic-coward-univoter' CP plague). I suppose there is also something personal against tox, since he is a bit 'touchy', no need to say that if you downvote an article beacuse you dislike the author then you're definitely a pathological idiot. It's frustrating form me, having to say, each time: "Trust me, it scored bad, but is actually a very good article".

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
              [My articles]

              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