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. if i type a string in edit box . it should b placed in that combo box..

if i type a string in edit box . it should b placed in that combo box..

Scheduled Pinned Locked Moved C / C++ / MFC
help
14 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.
  • H Hamid Taebi

    Does this your answer?

    CString str;
    m_edit.GetWindowText(str);
    m_Combo.AddString(str);


    WhiteSky


    V Offline
    V Offline
    vikramkarthik
    wrote on last edited by
    #4

    im not getting in this code.. plz help me..

    T H 2 Replies Last reply
    0
    • V vikramkarthik

      im not getting in this code.. plz help me..

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

      vikramkarthik wrote:

      plz help me..

      what is the problem

      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

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

      T V 2 Replies Last reply
      0
      • V vikramkarthik

        help me... vikram

        T Offline
        T Offline
        toxcct
        wrote on last edited by
        #6

        start by learing how to ask a question correctly on the forum, then ask it good. :zzz:


        [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

        V 1 Reply Last reply
        0
        • T ThatsAlok

          vikramkarthik wrote:

          plz help me..

          what is the problem

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

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

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #7

          ThatsAlok wrote:

          what is the problem

          i think this[^] is the problem :rolleyes:


          [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

          T 1 Reply Last reply
          0
          • T toxcct

            ThatsAlok wrote:

            what is the problem

            i think this[^] is the problem :rolleyes:


            [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

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

            toxcct wrote:

            think this[^] is the problem

            he he he, i just want to know what problem he is facing by implementing same!

            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

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

            1 Reply Last reply
            0
            • T ThatsAlok

              vikramkarthik wrote:

              plz help me..

              what is the problem

              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

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

              V Offline
              V Offline
              vikramkarthik
              wrote on last edited by
              #9

              CString strText; m_edtBox.GetWindowText(strText); m_cmbString.Addstring(strText); c im using VC++ 6.0, in this if i type this code means im not getting GeTWindowText option itself.what i can do.. vikram

              T 1 Reply Last reply
              0
              • T toxcct

                start by learing how to ask a question correctly on the forum, then ask it good. :zzz:


                [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

                V Offline
                V Offline
                vikramkarthik
                wrote on last edited by
                #10

                ok fine thank u..

                1 Reply Last reply
                0
                • V vikramkarthik

                  im not getting in this code.. plz help me..

                  H Offline
                  H Offline
                  Hamid Taebi
                  wrote on last edited by
                  #11

                  Wheres the problem?


                  WhiteSky


                  1 Reply Last reply
                  0
                  • V vikramkarthik

                    CString strText; m_edtBox.GetWindowText(strText); m_cmbString.Addstring(strText); c im using VC++ 6.0, in this if i type this code means im not getting GeTWindowText option itself.what i can do.. vikram

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

                    vikramkarthik wrote:

                    im using VC++ 6.0, in this if i type this code means im not getting GeTWindowText option itself.what i can do.. vikram

                    actually m_edtBox is of type CEditBox and m_cmbString is of CComboBox, you have to associate that with each control!

                    "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

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

                    1 Reply Last reply
                    0
                    • T ThatsAlok

                      humm.. create two control variable associated each with EditBox and Combo Box. CString strText; m_edtBox.GetWindowText(strText); m_cmbString.Addstring(strText);

                      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

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

                      V Offline
                      V Offline
                      vikramkarthik
                      wrote on last edited by
                      #13

                      i tried and i got the answer.. vikram

                      T 1 Reply Last reply
                      0
                      • V vikramkarthik

                        i tried and i got the answer.. vikram

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

                        it's all right.. you can vote for that message :) [hiding my face under table]

                        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

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

                        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