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. search in a list ??

search in a list ??

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialhelpquestionlearning
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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi there, i'm new at programming. here what i'm trying to do is make a list of object and their color and i would have a dialog box or something ? and you just have to enter a word (object name) and its property (color) would come up. just like an address book. but the thing i have no idea how to do that or where to start? is it with dialog box and list box? or with MDI ? any help would be appreciate. or example would be great. thank you

    C A 2 Replies Last reply
    0
    • L Lost User

      Hi there, i'm new at programming. here what i'm trying to do is make a list of object and their color and i would have a dialog box or something ? and you just have to enter a word (object name) and its property (color) would come up. just like an address book. but the thing i have no idea how to do that or where to start? is it with dialog box and list box? or with MDI ? any help would be appreciate. or example would be great. thank you

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You probably want a dialog box with a listbox in it. searching a listbox is not so easy, although I think CP has a listbox that provides iterators, which means you can use std algorithms on it. Christian The tragedy of cyberspace - that so much can travel so far, and yet mean so little. And you don't spend much time with the opposite sex working day and night, unless the pizza delivery person happens to be young, cute, single and female. I can assure you, I've consumed more than a programmer's allotment of pizza, and these conditions have never aligned. - Christopher Duncan - 18/04/2002

      1 Reply Last reply
      0
      • L Lost User

        Hi there, i'm new at programming. here what i'm trying to do is make a list of object and their color and i would have a dialog box or something ? and you just have to enter a word (object name) and its property (color) would come up. just like an address book. but the thing i have no idea how to do that or where to start? is it with dialog box and list box? or with MDI ? any help would be appreciate. or example would be great. thank you

        A Offline
        A Offline
        Aizik Yair
        wrote on last edited by
        #3

        look at articles that describe mfc applications ( dialog based ). Aizik Yair Software Engineer

        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