Those annoying little listboxes...

This is a discussion on Those annoying little listboxes... within the Windows Programming forums, part of the Platform Specific Boards category; I really don't understand how to use the list boxes. I got one on my dialog and everything, but I ...

  1. #1
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685

    Those annoying little listboxes...

    I really don't understand how to use the list boxes. I got one on my dialog and everything, but I don't know how to add text to it or anything. Can someone help?

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Use SendMessage() or SendDlgItemMessage() to send an LB_ADDSTRING message to the control. I can't be more specific without knowing a little more. If you can't work it out from these hints, tell me about your dialog and control.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Okay, I got it. Apparently, there was a problem with the way I was using SendMessage() to the dialog that I created using a resource file. Thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Annoying Message Box Problem
    By Necrofear in forum C++ Programming
    Replies: 14
    Last Post: 07-02-2006, 12:25 PM
  2. Annoying people on-line is now a crime...
    By novacain in forum A Brief History of Cprogramming.com
    Replies: 30
    Last Post: 01-12-2006, 09:42 PM
  3. Yahoo! mail is bieng soooo annoying !!!!
    By Brain Cell in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 11-08-2004, 03:23 PM
  4. Beating stick of annoying people
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 05-27-2004, 05:00 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21