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. SetItemData/GetItemData

SetItemData/GetItemData

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

    How do i write using SetItemData/GetItemData to link items listed in the droplist(combobox) to certain files(.txt)? Is there any examples i can refer to? Thanks A Lot:)

    N 1 Reply Last reply
    0
    • C cyn8

      How do i write using SetItemData/GetItemData to link items listed in the droplist(combobox) to certain files(.txt)? Is there any examples i can refer to? Thanks A Lot:)

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      cyn8 wrote:

      How do i write using SetItemData/GetItemData to link items listed in the droplist(combobox) to certain files(.txt)?

      You question is not clear... Do you want to see all the txt files in a directory listed in your combo box, then take a look at DlgDirListComboBox.


      Nibu thomas A Developer Programming tips[^]  My site[^]

      C B 2 Replies Last reply
      0
      • N Nibu babu thomas

        cyn8 wrote:

        How do i write using SetItemData/GetItemData to link items listed in the droplist(combobox) to certain files(.txt)?

        You question is not clear... Do you want to see all the txt files in a directory listed in your combo box, then take a look at DlgDirListComboBox.


        Nibu thomas A Developer Programming tips[^]  My site[^]

        C Offline
        C Offline
        cyn8
        wrote on last edited by
        #3

        In my application i have another edit box and a browse button to find a file and load it. But I want to be able to create a link from the droplist to the edit box to load the respectful files according to the item listed in the combobox droplist. for example... in the drop list, it has: item1 item2 item3 by selecting one of them, eg. "item1"..... Item1 will be directed to location example "c://File1.txt" the edit box will also show "c://File1.txt" and the file will be automatically load it May i know how to do this? Thanks:)

        N 1 Reply Last reply
        0
        • N Nibu babu thomas

          cyn8 wrote:

          How do i write using SetItemData/GetItemData to link items listed in the droplist(combobox) to certain files(.txt)?

          You question is not clear... Do you want to see all the txt files in a directory listed in your combo box, then take a look at DlgDirListComboBox.


          Nibu thomas A Developer Programming tips[^]  My site[^]

          B Offline
          B Offline
          Benoy Bose
          wrote on last edited by
          #4

          Nibu, Where is Naveen, Nishad etc...

          N 1 Reply Last reply
          0
          • C cyn8

            In my application i have another edit box and a browse button to find a file and load it. But I want to be able to create a link from the droplist to the edit box to load the respectful files according to the item listed in the combobox droplist. for example... in the drop list, it has: item1 item2 item3 by selecting one of them, eg. "item1"..... Item1 will be directed to location example "c://File1.txt" the edit box will also show "c://File1.txt" and the file will be automatically load it May i know how to do this? Thanks:)

            N Offline
            N Offline
            Nibu babu thomas
            wrote on last edited by
            #5

            cyn8 wrote:

            from the droplist to the edit box to load the respectful files according to the item listed in the combobox droplist.

            There are two event notifications for this purpose... 1. CBN_SELCHANGE 2. CBN_SELENDOK You can handle either of them to handle change of combobox items. In this event handler write the code for displaying file contents.


            Nibu thomas A Developer Programming tips[^]  My site[^]

            1 Reply Last reply
            0
            • B Benoy Bose

              Nibu, Where is Naveen, Nishad etc...

              N Offline
              N Offline
              Nishad S
              wrote on last edited by
              #6

              I tried and failed to contact you by phone... why cant you mail me...?

              - NS -

              B 1 Reply Last reply
              0
              • N Nishad S

                I tried and failed to contact you by phone... why cant you mail me...?

                - NS -

                B Offline
                B Offline
                Benoy Bose
                wrote on last edited by
                #7

                Its very nice to contact you later. Really I miss you all badly. I still love NeST and all NeSTians very much. It is very sorry to say that I was forced to follow the path of Shameer Ebrahim. I have two reasons to leave from there with out sayinng any word to any. Mainly I fear the disgrace and secondly I want to come back there just like after a long leave. Sorry Sorry Sorry.... Currently I am not using any mobile that's why no one can get me through the phone. I shifted to C# and working for a US Client with a little better salary. I feel NeST is a heaven and sure I have to come back there. Contact you al later.. Where is Prince of Common Controls ( Mr.Naveen ) Please convey my regards to all there. Bye With lots of love Benoy Bose

                N N 2 Replies Last reply
                0
                • B Benoy Bose

                  Its very nice to contact you later. Really I miss you all badly. I still love NeST and all NeSTians very much. It is very sorry to say that I was forced to follow the path of Shameer Ebrahim. I have two reasons to leave from there with out sayinng any word to any. Mainly I fear the disgrace and secondly I want to come back there just like after a long leave. Sorry Sorry Sorry.... Currently I am not using any mobile that's why no one can get me through the phone. I shifted to C# and working for a US Client with a little better salary. I feel NeST is a heaven and sure I have to come back there. Contact you al later.. Where is Prince of Common Controls ( Mr.Naveen ) Please convey my regards to all there. Bye With lots of love Benoy Bose

                  N Offline
                  N Offline
                  Nishad S
                  wrote on last edited by
                  #8

                  I am really sorry because I am very busy now. I am with one of my colleague :( Could you contact me later...?

                  - NS -

                  1 Reply Last reply
                  0
                  • B Benoy Bose

                    Its very nice to contact you later. Really I miss you all badly. I still love NeST and all NeSTians very much. It is very sorry to say that I was forced to follow the path of Shameer Ebrahim. I have two reasons to leave from there with out sayinng any word to any. Mainly I fear the disgrace and secondly I want to come back there just like after a long leave. Sorry Sorry Sorry.... Currently I am not using any mobile that's why no one can get me through the phone. I shifted to C# and working for a US Client with a little better salary. I feel NeST is a heaven and sure I have to come back there. Contact you al later.. Where is Prince of Common Controls ( Mr.Naveen ) Please convey my regards to all there. Bye With lots of love Benoy Bose

                    N Offline
                    N Offline
                    Naveen
                    wrote on last edited by
                    #9

                    Benoy Bose wrote:

                    Where is Prince of Common Controls ( Mr.Naveen )

                    hi benoy... I am here.. Now a days very busy with the projects...Dont have time to spend in code project.. well where r u now?

                    nave

                    B 1 Reply Last reply
                    0
                    • N Naveen

                      Benoy Bose wrote:

                      Where is Prince of Common Controls ( Mr.Naveen )

                      hi benoy... I am here.. Now a days very busy with the projects...Dont have time to spend in code project.. well where r u now?

                      nave

                      B Offline
                      B Offline
                      Benoy Bose
                      wrote on last edited by
                      #10

                      I think you were so busy, since there are no log in the code project. Here I am not at all busy and having a lot of free time. Please convey my regards to Sankar, Ajesh, Prince and Rinu

                      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