Thread: Those annoying little listboxes...

  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,829
    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, 11:25 AM
  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, 04:00 PM