Another bug in CListView::InsertColumn

2009-05-29
2013-05-28
  • Todor Totev

    Todor Totev - 2009-05-29

    I suspect a copy-paste mistake. This code:

    if (-1 !=  iSubItem)
    {
      lvc.mask |= LVCF_SUBITEM;
    ------->  lvc.cx = iSubItem;
    }

    is wrong, it must read

    lvc.iSubItem = iSubItem;

     
    • David

      David - 2009-05-30

      Thanks for pointing this one out.  I've posted a fix for this via SVN.

      Regards,
      David

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks