const int knowlege = 0

This is a discussion on const int knowlege = 0 within the Windows Programming forums, part of the Platform Specific Boards category; Hi. I'm trying to create an instant messanger. Step 1: learning how to write to a list box. Step 2: ...

  1. #1
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    917

    const int knowlege = 0

    Hi. I'm trying to create an instant messanger.
    Step 1:
    learning how to write to a list box.

    Step 2:
    having source code from another basic IMer for analysis.

    Can anybody fill these steps?
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    Step 1, send an LB_ADDSTRING message to your list box. From MSDN...

    >>>
    An application sends an LB_ADDSTRING message to add a string to a list box. If the list box does not have the LBS_SORT style, the string is added to the end of the list. Otherwise, the string is inserted into the list and the list is sorted.
    <<<
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 14
    Last Post: 06-28-2006, 02:58 AM
  2. getting a headache
    By sreetvert83 in forum C++ Programming
    Replies: 41
    Last Post: 09-30-2005, 06:20 AM
  3. Half-life SDK, where are the constants?
    By bennyandthejets in forum Game Programming
    Replies: 29
    Last Post: 08-25-2003, 12:58 PM
  4. oh me oh my hash maps up the wazoo
    By DarkDays in forum C++ Programming
    Replies: 5
    Last Post: 11-30-2001, 12:54 PM
  5. My graphics library
    By stupid_mutt in forum C Programming
    Replies: 3
    Last Post: 11-26-2001, 06:05 PM

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