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

Thread: clear listbox

  1. #1
    Join Date
    Feb 2008
    Posts
    16

    clear listbox

    hi i am working in VC++ 6 using Win32 App. .............
    tell me how to clear the listbox

  2. #2
    Join Date
    May 2006
    Location
    Norway
    Posts
    1,709

    Re: clear listbox

    Send the listbox a LB_RESETCONTENT message.
    Code:
    SendMessage(handleListbox, LB_RESETCONTENT, 0, 0);
    Laitinen

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