CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: List Control

  1. #1
    Join Date
    Jul 1999
    Posts
    196

    List Control

    How do you add an item to a list control that spans multiple coloms?

    from
    Wingman

  2. #2
    Join Date
    Sep 1999
    Location
    China
    Posts
    7

    Re: List Control

    Look at RowList on vc++ online help.

    Your best VC++ friend, Jacky!
    [email protected]

  3. #3
    Join Date
    Jul 1999
    Location
    Romania - Iasi
    Posts
    558

    Re: List Control

    Try this:

    list.InsertItem( next_item_nr, your_text) //this add an item and fill first column
    for( int i = 1; i < no_clos_of_list; i++)
    {
    list.SetItemText(next_item_nr, i, text_for_col_i);
    }




    Let me know if this help u
    Regards,
    Ovidiu


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured