CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2000
    Posts
    129

    How to remove selection from ListBox?

    Hi!
    It seems like a trivial task, but I cant programmatically remove the selection from multi-select ListBox…
    Please help!

  2. #2
    Join Date
    Apr 1999
    Posts
    3,585
    Have you tried using CListBox::SetSel( -1, FALSE )? Take a look at the example in MSDN.
    Gort...Klaatu, Barada Nikto!

  3. #3
    Join Date
    Jan 2000
    Posts
    129

    Thanks

    It works!! Thanks you very much!

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