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

List box Help

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
3 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.
  • C Offline
    C Offline
    celllllllll
    wrote on last edited by
    #1

    Hi All, I need help with the list boxes.I am working with Dlls. Okay so what I want to do is: I created a list box with some items in it. For example: FDK01, FDK02...FDK09 means key F1, F2.....F9. Now, I want to perform something like when I select FDK01 in the list box and then say OK ..it should then allow me to pressed button 1. How should I code the list box item to perform what I want? Thanks in advance C++Prog

    T N 2 Replies Last reply
    0
    • C celllllllll

      Hi All, I need help with the list boxes.I am working with Dlls. Okay so what I want to do is: I created a list box with some items in it. For example: FDK01, FDK02...FDK09 means key F1, F2.....F9. Now, I want to perform something like when I select FDK01 in the list box and then say OK ..it should then allow me to pressed button 1. How should I code the list box item to perform what I want? Thanks in advance C++Prog

      T Offline
      T Offline
      thatsme_cool
      wrote on last edited by
      #2

      Though it's not very clear from ur question but, I guess whenever a list box item is selected & user presses Ok button u want some other button to be selected. is it?? u can use SetFocus method for that

      1 Reply Last reply
      0
      • C celllllllll

        Hi All, I need help with the list boxes.I am working with Dlls. Okay so what I want to do is: I created a list box with some items in it. For example: FDK01, FDK02...FDK09 means key F1, F2.....F9. Now, I want to perform something like when I select FDK01 in the list box and then say OK ..it should then allow me to pressed button 1. How should I code the list box item to perform what I want? Thanks in advance C++Prog

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

        Preeti9 wrote:

        I created a list box with some items in it. For example: FDK01, FDK02...FDK09 means key F1, F2.....F9. Now, I want to perform something like when I select FDK01 in the list box and then say OK ..it should then allow me to pressed button 1. How should I code the list box item to perform what I want?

        You can use SendInput for this purpose.


        Nibu thomas Software Developer

        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