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. Help

Help

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

    Can Somebody help me.. i have one ListBox and one combobox . i want that when user select any item in the ListBox , the path of that item is got selected in the combobox.. How to achieve this.. Please help me in this.. Thanks and Regards

    A H D 3 Replies Last reply
    0
    • A Anamika2005

      Can Somebody help me.. i have one ListBox and one combobox . i want that when user select any item in the ListBox , the path of that item is got selected in the combobox.. How to achieve this.. Please help me in this.. Thanks and Regards

      A Offline
      A Offline
      Archyami
      wrote on last edited by
      #2

      step1: In the ui designer, right click the control (combobox) and click 'wizard'. You can add an event to it. Then, an event function will be created in the classes you chose. step2: Add code in the event function. Something like this->GetDlgText(...)

      1 Reply Last reply
      0
      • A Anamika2005

        Can Somebody help me.. i have one ListBox and one combobox . i want that when user select any item in the ListBox , the path of that item is got selected in the combobox.. How to achieve this.. Please help me in this.. Thanks and Regards

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

        You need to insert this item to ComboBox withAddStringand use of SetCurlSel


        WhiteSky


        1 Reply Last reply
        0
        • A Anamika2005

          Can Somebody help me.. i have one ListBox and one combobox . i want that when user select any item in the ListBox , the path of that item is got selected in the combobox.. How to achieve this.. Please help me in this.. Thanks and Regards

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

          Shikha Jain wrote:

          How to achieve this..

          Are you handling the LBN_SELCHANGE notification?


          "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

          "Judge not by the eye but by the heart." - Native American Proverb

          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